Cert error on centos6


I just installed letsencrypt on my centos6

My domain is: ct700.oxodif.com

My web server is : Apache 2.2.15

Virtual Host contain :
SSLCertificateFile /etc/letsencrypt/live/ct700.oxodif.com/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ct700.oxodif.com/privkey.pem
SSLCertificateChainFile /etc/letsencrypt/live/ct700.oxodif.com/chain.pem

But ssl doesn’t work : https://ct700.oxodif.com/

I don’t know why … do you have an idea ?

Thanks a lot,


This may be a dumb question , but did you restart the server? The certificate still looks like it’s self-signed.

Often this is because you have the default CentOS-provided ssl.conf VirtualHost file that is taking precedence over the letsencrypt- one certbot created. This default ssl.conf file can simply be removed (or moved to a backup location).

If you don’t have or can’t find that file, please paste your entire Apache configuration:

tail -vn +1 /etc/httpd/conf*
1 Like

Thank you both !

Yes I restarted httpd for each modification :wink:

In ssl.conf I deleted all the section "VirtualHost default:443"
And I added this line (from another config I saw)

Now it works !
Thanks a lot,


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