Trying to install certificate

Home server running Ubuntu 14.04 and Apache2, I used the webroot version of Lets Encrypt and it worked.

I then edited my Virtual Hosts File and added a section for port 443

I opened up port 443 on my router and nmap appears to show that it is open

And yet when I go to, I get a SSL connection error.

Any suggestions as to what I have missed?

Thanks in advance,


I’d suspect you haven’t added the SSL cert info correctly - as it’s listening with http not https on port 443

Thanks - here is what I have in the virtual host

<VirtualHost *:443>

    DocumentRoot /var/www/html/
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/
SSLCertificateKeyFile /etc/letsencrypt/live/
SSLCertificateChainFile /etc/letsencrypt/live/$

Interesting - that looks OK.

I assume you have < VirtualHost *:443 > before and < /VirtualHost > at the end ? and you reloaded apache

I had the brackets, but had only restarted Apache, not reloaded it. And reloading just worked. Thanks a lot for your help!

1 Like

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