i am trying to install lets encrypt on ubuntu with apache 2 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:
Hi Steven,
I get the following error
Could not reverse map the HTTPS VirtualHost to the original
Searched few hours to figure out trying to solve it but without success so far…
i ran sudo certbot --apache certonly and now i dont get any error but the website is not secure… www.deals4u.co.il
i have my default-ssl.conf:
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerName deals4u.co.il
ServerAlias www.deals4u.co.il
DocumentRoot /var/www/html
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on
# A self-signed (snakeoil) certificate can be created by installing
# the ssl-cert package. See
# /usr/share/doc/apache2/README.Debian.gz for more info.
# If both key and certificate are stored in the same file, only the
# SSLCertificateFile directive is needed.
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key