Ssl randomly serving localhost cert instead of domein cert

VincentM

New member
Joined
Sep 5, 2016
Messages
2
Hi All,

We have multiple websites running with a lets encrypt cert on centos 6.
most of them are working fine and are serving the right certificate.

but a few of the sites are randomly returning the localhost certificate resulting in a ssl error.
this happens about 1 out of 20 times i load the page.(different pc's and phones)
www.sslcheck.nl also indicates the same problem when i continuously request a certificate check.

the wierd thing is that we only see this problem at 3 domains of the 8 domains. all domains are configured with the same method.
private_html links to public_html and ssl certificate is requested with the lets encrypt option in directadmin.

Hope that you guys can help me,

Vincent,
 
Hello Vincent,

Make sure to restart apache with kill -9 if necessary, and rebuild/update apache if it does not help.
 
Hello Vincent,

Make sure to restart apache with kill -9 if necessary, and rebuild/update apache if it does not help.

Thank you for the fast response.

restarting the httpd via ssh did the trick, i had already done this with the service tab in directadmin but that was apparently not working.
all seems to be working fine now.
thank you for your help.

Vincent
 
Back
Top