Report this

What is the reason for this report?

error when installing letsencrypt

Posted on February 18, 2018

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



This textbox defaults to using Markdown to format your 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.

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

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”

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.