Skip to content

Client initialization, termsOfService key should be optional - #226

Open
TheStaticTurtle wants to merge 1 commit into
komuw:masterfrom
TheStaticTurtle:master
Open

Client initialization, termsOfService key should be optional#226
TheStaticTurtle wants to merge 1 commit into
komuw:masterfrom
TheStaticTurtle:master

Conversation

@TheStaticTurtle

Copy link
Copy Markdown

Hi,

During the client initialization, sewer expect that the termsOfService url is present in the meta of the endpoints.

However, termsOfService is optional (actually, the meta key itself is optional, see page 23 of RFC 8555) and while it works on most public servers, the TOS is not present on my self-hosted acme which causes the initialization to fail if it's not there.

As this is actually used nowhere in the code, setting it to None if not found has little impact and is probably the best option.

Samuel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant