-
Notifications
You must be signed in to change notification settings - Fork 825
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
generate multiple certs for single nginx container #57
Comments
Yes it must work as you describe. |
All seems ok except wiseadvices.com. Perhaps you create it before grouping all domains. So remove wiseadvices.com directory and relaunch the companion. |
so:
both shop and njord are in the group too, but they have their own certs? and is it possible to have main one not adjara but something else instead? |
The "main" domain is the first domain set in LETSENCRYPT_HOST variable |
yeah I got that :) also symbolic links make sense. But why is that domain displayed in ssl overview? common name should be we are.de not adjara right? |
we are de is the first in LETSENCRYPT_HOST variable, you can also see that symbolic links point to we are de not adjara. So how come adjara is the main? |
Remove all certs and restart companion. |
result is same, could it be alphabetic? |
No, it's the first one i'm sure. |
hang on 5mins I'll make a video |
You must see this message in the logs:
Where $base_domain is your first host of LETSENCRYPT_HOST variable |
Here you go, contains log messages also. |
Sorry i can't acces to the video at the moment. Check if the message in the logs is right. |
So all certs must point to the weare.de.com directory ? |
Check that a new certificat has been created (check details in certificate about creation date). |
It seems that simp_le create SAN with domain sort alphabetically. So the common name will be adjaragroup. But it's doesn't care because your certificat is valid for all alternate domains. |
So your saying even if I remove adjara, I will get common name next in the alphabetic order that is cdn ? |
Yes i think. |
Could this be an issue? https://community.letsencrypt.org/t/common-name-change-after-using-expand-flag/14174 |
after searching and reading everything this seems to be the root issue: certbot/certbot#2798 so since v 0.5 this bug was introduced in letsencrypt client. 0.6 version includes the fix. At what version is your docker container? |
The companion container doesn't use the letsencrypt client but simp_le. |
I see, and there is PR that changes things: kuba/simp_le#105 |
btw, my workaround: I added subdomain abc.main.domain to get it to be the common name. |
Good ! |
is it possible to generate multiple certificates like:
I've single nginx server behind nginx-proxy. I don't want to have separate nginx server for each domain.
this companion doesn't generate ssl for all mentioned domains: domain1.com,domain2.com,domain3.com
The text was updated successfully, but these errors were encountered: