how to apply for wildcard certificate http method #1869
Answered
by
ldez
xianfeiqiang
asked this question in
Q&A
-
I got example.com through http and it works, *.example only support dns type ? docker run --rm -v $PWD/lego:/.lego -v /usr/share/nginx/html/acme-challenge:/acme goacme/lego --accept-tos --email="[email protected]" --http --http.webroot="/acme" -d *.example.com run You should make a secure backup of this folder now. This
configuration directory will also contain certificates and
private keys obtained from Let's Encrypt so making regular
backups of this folder is ideal.
2023/03/14 10:27:27 [INFO] [*.example.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz-v3/210758200707
2023/03/14 10:27:27 [INFO] [*.example.com] acme: Could not find solver for: dns-01
2023/03/14 10:27:27 [INFO] Deactivating auth: https://acme-v02.api.letsencrypt.org/acme/authz-v3/210758200707
2023/03/14 10:27:28 Could not obtain certificates:
error: one or more domains had a problem:
[*.example.com] [*.example.com] acme: could not determine solvers |
Beta Was this translation helpful? Give feedback.
Answered by
ldez
Mar 14, 2023
Replies: 2 comments 2 replies
-
Hello, you cannot, only the DNS-01 challenge is able to get a wildcard certificate. It's not a lego limitation but a Let's Encrypt limitation. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ldez
-
@ldez how to do wildcard letsencrypt then? i'm doing so, not sure how to enable wildcard letsencrypt for all subdomains
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
you cannot, only the DNS-01 challenge is able to get a wildcard certificate.
It's not a lego limitation but a Let's Encrypt limitation.