Hello,
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,
Thierry
jurekam
February 28, 2018, 7:52pm
2
@ThierryNo ,
This may be a dumb question , but did you restart the server? The certificate still looks like it’s self-signed.
Patches
February 28, 2018, 8:07pm
3
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
In ssl.conf I deleted all the section "VirtualHost default :443"
And I added this line (from another config I saw)
NameVirtualHost 149.202.101.195:443
Now it works !
Thanks a lot,
Thierry
2 Likes
system
Closed
March 30, 2018, 8:51pm
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.