Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stateless and TLS-ALPN-01 #4926

Closed
flobernd opened this issue Dec 23, 2023 · 7 comments
Closed

Stateless and TLS-ALPN-01 #4926

flobernd opened this issue Dec 23, 2023 · 7 comments

Comments

@flobernd
Copy link

flobernd commented Dec 23, 2023

Hi there,

is it possible to use stateless mode with a TLS-ALPN-01 challenge? I tried:

acme.sh --config-home /var/lib/acme --issue -d DOMAIN --stateless --alpn --keylength ec-256

But it seems like HTTP-01 is used:

Error, can not get domain token "type":"http-01","url":"https://acme.zerossl.com/v2/DV90/chall/<redacted>","status":"invalid","error":{

Am I'm doing it wrong or does acme.sh currently not support that scenario?

Copy link

Please upgrade to the latest code and try again first. Maybe it's already fixed. acme.sh --upgrade If it's still not working, please provide the log with --debug 2, otherwise, nobody can help you.

@flobernd
Copy link
Author

I'm using the latest version and the relevant log line is already included in my issue comment.

@jueduizone
Copy link

you can try to use Let's encrypt CA, run the command:
acme.sh --set-default-ca --server letsencrypt

@flobernd
Copy link
Author

@jueduizone Thanks for your reply, but I don't see how this would help me unless LE would be using 'stateless' and 'http-alpn-01' by default. Is that the case?

I would like to handle both, challenge- and application-traffic, on port 443, if possible. In addition, stateless mode is a hard requirement for my usecase.

@Neilpang
Copy link
Member

does acme.sh currently not support that scenario?

No.

@flobernd
Copy link
Author

@Neilpang Thanks for answering. Are there any plans to implement this functionality in the future and/or would you accept a PR for that?

@Neilpang
Copy link
Member

how about this:
https://github.com/acmesh-official/acme.sh/wiki/TLS-ALPN-without-downtime

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

No branches or pull requests

3 participants