Question

error when installing letsencrypt

i am trying to install lets encrypt but with no success. i get the following error:

Keeping the existing certificate Could not reverse map the HTTPS VirtualHost to the original

IMPORTANT NOTES:

  • Unable to install the certificate
  • Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/www.deals4u.co.il/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/www.deals4u.co.il/privkey.pem Your cert will expire on 2018-05-19. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the “certonly” option. To non-interactively renew all of your certificates, run “certbot renew”

my conf file looks like this:

<VirtualHost *:80>
    ServerName deals4u
    ServerAlias www.deals4u.co.il
    DocumentRoot /var/www/html
    <Directory /var/www/html/>
        Options Indexes FollowSymLinks
        AllowOverride All
    </Directory>
</VirtualHost>

please help! i’m hopeless

Subscribe
Share

I am having this issue too on Ubuntu 16.04 and apache I hope someone can come up with a solution.

Hi @eladnm07 I am also facing same issue, i am using ubuntu 14.04 and apache, any one can help on this.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

i set the servername to deals4u.co.il than i run: sudo certbot --apache -d deals4u.co.il

still no success with the message i get:

What would you like to do?

1: Attempt to reinstall this existing certificate 2: Renew & replace the cert (limit ~5 per 7 days)

Select the appropriate number [1-2] then [enter] (press ‘c’ to cancel): 1 Keeping the existing certificate Could not reverse map the HTTPS VirtualHost to the original

IMPORTANT NOTES:

  • Unable to install the certificate
  • Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/deals4u.co.il/fullchain.pem Your key file has been saved at: /etc/letsencrypt/live/deals4u.co.il/privkey.pem Your cert will expire on 2018-05-19. To obtain a new or tweaked version of this certificate in the future, simply run certbot again with the “certonly” option. To non-interactively renew all of your certificates, run “certbot renew”

Hi, it sounds like you’re renewing the certificate without having it installed on Apache first. Did you run sudo certbot --apache -d deals4u.co.il when you first tried to install Certbot?

Also, ServerName needs to be set to deal4u.co.il