-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[Feature request] nginx plugin doesn't auto detect wildcard domains #6384
Comments
I think I found the problem. To confirm, please either post your logs or check that they contain an error message like Logs are usually located at |
Yes thats what appears in log. FYI The log dir /var/log/letsencrypt/letsencrypt.log
|
For users: Use For devs: Ok so what's going on here is that we have a check that does This check happens in The best fix on our end is probably to expand the domain into being read as both domains inside the Nginx plugin, before it goes through the check. We may also need to do the same thing in Apache. But then, we have the UX conundrum that this will also work when Nginx is set as authenticator, erroneously displaying wildcard domains when we can't actually get them. |
On second thought, this is probably fine, because then the user can run again and select a different domain or use a different authenticator. We should make sure that the error message that happens when you do that is good. |
@ciarancourtney, any chance you'd be up for submitting a PR to fix this? |
Sure, I'll take a look |
Awesome, let me know if you have any questions or run into any snags. |
…e domains * e.g. mutate .example.com into *.example.com as early as possible
…e domains * e.g. mutate .example.com into *.example.com as early as possible
…le.com in Nginx parser
…e domains * e.g. mutate .example.com into *.example.com as early as possible
…le.com in Nginx parser
Do we think this issue will be resolved for the release next week? |
My operating system is (include version):
Ubuntu 18.04.1
I installed Certbot with (certbot-auto, OS package manager, pip, etc):
apt initially, then pip installed all certbot packages to see if issue was resolved
I ran this command and it produced this output:
Certbot's behavior differed from what I expected because:
I have a single index nginx conf containing a wildcard
server_name
which routes to all other 'location' confs based on pathWhy can't the nginx plugin just detect that its a wildcard cert?
The text was updated successfully, but these errors were encountered: