-
Notifications
You must be signed in to change notification settings - Fork 824
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
How to use multiple subsubdomains on one cert subdomain certificat? #613
Comments
You would need to have multiple entries within the certificates SAN (subject alternative name). It looks like there may be support as the documentation says among the features that "Support creation of Multi-Domain (SAN) Certificates." however in practice and their examples don't seem to support it but rather issue separate certificates for each sub domain (E.g., https://aaa.sub.example.com, https://bbb.sub.example.com). The documentation states to repeat step 3 for each container (with a different domain) - https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion#step-3---proxyed-containers. |
Nope, certificates only covers a specific set of domains (unless they're wildcard certificate, but we don't support them yet). If you want a certificate that covers multiple domains and/or subdomains, you 'll have to specifically configure your container that way, eg:
This create a single SAN certificate that covers both
We do support SAN certificate but you are right in the fact that the doc is not super clear about it. I'll try to add a basic SAN certificate example to the doc asap. |
Thank you! |
@nocturnesound is the doc update clear to you ? |
hi, I am looking for wildcard certificate to be used for all of my subdomains using acme-companion with nginx reverse proxy and code-server containers. I am not able to find a good solution as if I use the subdomains as Host for Lets encrypt, it will not allow me to generate more than 50 certificates. Can you please provide me any information about how to achieve it? |
Hi there,
I have a subdomain like sub.example.com. I'd like to use a subdomain like https://aaa.sub.example.com with sub.example.com certificate (Issued to sub.example.com). Is it possible?
The text was updated successfully, but these errors were encountered: