Certbot --apaceh 'Which virtual host would you like to choose'

Please fill out the fields below so we can help you better.

My domain is:na

I ran this command: sudo letsencrypt --apache

It produced this output: After I put in the domain name/s and hit “Yes” on the first prompt of letsencrypt screen (‘No names were found in your configuration files’), the next screen prompted ‘We were unable to find a vhost with a ServerName or Address of www.mydomain.com. Which virtual host would you like to choose?’ :

  1. 000-default.conf
  2. default-ssl.conf
  3. 000-default-le-ssl.conf | mydomain.com

My operating system is (include version): 16.04 LTS

My web server is (include version): Apache2

My hosting provider, if applicable, is:AWS lightsail

I can login to a root shell on my machine (yes or no, or I don’t know): Yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): No

I am a little confused on how to approach this.

So, I believe I have to touch a “000-default-le-ssl.conf” file in the “sites-available” folder, but not sure about how the code block should be written, or if I should just add the domain name/s to one of the existing conf files.

Any help is appreciated.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.