andrew@defiant:/etc/apache2/sites-enabled$ sudo certbot --apache Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache
Which names would you like to activate HTTPS for?
Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter ‘c’ to cancel): 2,3,4,5,6
You have an existing certificate that contains a portion of the domains you requested (ref: /etc/letsencrypt/renewal/gene.123.ca.conf)
Do you want to expand and replace this existing certificate with the new certificate?
(E)xpand/©ancel: e Renewing an existing certificate Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/fresh-le-ssl.conf Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/gene-le-ssl.conf Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/glpi-le-ssl.conf Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/spectre-le-ssl.conf Deploying Certificate to VirtualHost /etc/apache2/sites-enabled/123-le-ssl.conf
Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
1: No redirect - Make no further changes to the webserver configuration. 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for new sites, or if you’re confident your site works on HTTPS. You can undo this change by editing your web server’s configuration.
Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 2 Failed redirect for 123.ca Unable to set enhancement redirect for 123.ca Unable to find corresponding HTTP vhost; Unable to create one as intended addresses conflict; Current configuration does not support automated redirection
Does this mean that I somehow need to set up a vhost for my actual domain? I have tried setting up server aliases but this does not seem to resolve the issue.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.