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

Good support for certonly --apache with domains Apache isn't serving #3869

Closed
pde opened this issue Dec 7, 2016 · 3 comments
Closed

Good support for certonly --apache with domains Apache isn't serving #3869

pde opened this issue Dec 7, 2016 · 3 comments

Comments

@pde
Copy link
Member

pde commented Dec 7, 2016

In response to this Debian bug I was going to suggest that the user run something like certbot certonly -a apache -i none. But the problem that triggers a bunch of vhost questions:

certonly -a apache -i none
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
to cancel):thing.com
Obtaining a new certificate
Performing the following challenges:
tls-sni-01 challenge for thing.com

We were unable to find a vhost with a ServerName or Address of thing.com.
Which virtual host would you like to choose?
(note: conf files with multiple vhosts are not yet supported)
-------------------------------------------------------------------------------
1: 001-goxogle.com-le-ssl.conf    | goxogle.com           | HTTPS | Enabled
2: default-ssl.conf               |                       | HTTPS |
3: 001-demo.reworld.org-le-ssl.co | demo.reworld.org      | HTTPS | Enabled
4: 001-www.isnot.org.conf         | www.isnot.org         |       | Enabled
5: 000-default.conf               |                       |       |
6: 001-isnot.org-le-ssl.conf      | isnot.org             | HTTPS | Enabled
7: 001-is.isnot.org.conf          | Multiple Names        |       | Enabled
8: 001-goxogle.com.conf           | goxogle.com           |       | Enabled
9: 001-demo.reworld.org.conf      | demo.reworld.org      |       | Enabled
10: 001-isnot.org.conf             | isnot.org             |       | Enabled
11: 001-is.isnot.org-le-ssl.conf   | Multiple Names        | HTTPS | Enabled
12: 001-www.isnot.org-le-ssl.conf  | www.isnot.org         | HTTPS | Enabled
-------------------------------------------------------------------------------
Select the appropriate number [1-12] then [enter] (press 'c' to cancel): c
No vhost exists with servername or alias of: thing.com (or it's in a file with multiple vhosts, which Certbot can't parse yet). No vhost was selected. Please specify ServerName or ServerAlias in the Apache config, or split vhosts into separate files.
Falling back to default vhost *:443...
Waiting for verification...

If the user is running certonly, and there are literally no vhosts that look correct, shouldn't we just use the default one without asking? Or is that going to be wrong in some cases?

@pde pde added this to the 1.0.0 milestone Dec 7, 2016
@pde pde changed the title Good support for certonly --apache Good support for certonly --apache with domains Apache isn't serving Dec 7, 2016
@pde
Copy link
Member Author

pde commented Dec 7, 2016

The workaround for now is to run with -n.

@stale
Copy link

stale bot commented Jun 13, 2019

We've made a lot of changes to Certbot since this issue was opened. If you still have this issue with an up-to-date version of Certbot, can you please add a comment letting us know? This helps us to better see what issues are still affecting our users. If there is no further activity, this issue will be automatically closed.

@stale stale bot added the needs-update label Jun 13, 2019
@stale
Copy link

stale bot commented Jun 21, 2019

This issue has been closed due to lack of activity, but if you think it should be reopened, please open a new issue with a link to this one and we'll take a look.

@stale stale bot closed this as completed Jun 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant