speedy
05-25-2007, 02:34 PM
Basically I ran into the issue here:
http://kb.swsoft.com/article_41_1500_en.html (http://kb.swsoft.com/article_41_1500_en.html)
I have a virtual host called secure.4tfc.com. It has its own exclusive IP address assigned to it which is different then the shared server IP.
From /var/www/vhosts/secure.4TFC.com/statistics/logs/error_ssl_log
[Fri May 25 15:21:09 2007] [warn] RSA server certificate CommonName (CN) `secure.4tfc.com' does NOT match server name!?
cat /var/www/vhosts/secure.4TFC.com/conf/httpd.include | grep ServerName
ServerName secure.4TFC.com:443
ServerName secure.4TFC.com:80
From those lines above, it seems that the server is complaining that the cert CN of `secure.4tfc.com' does not match the apache ServerName of secure.4TFC.com.
So to fix it I changed the vhost httpd.include file to be all lowercase - deleted the error_ssl_log file to clear the log (renaming is fine too) and then restarted apache - the warning went away.
There is no mention in the help docs that this information is case sensitive, as in windows it isn’t (as are lots of other things, I know....).
When the domain was added to Plesk the SLD was all upper case, and Plesk preserved the case when adding the domain into apache - however the cert was generated in all lower case - causing this problem.
http://kb.swsoft.com/article_41_1500_en.html (http://kb.swsoft.com/article_41_1500_en.html)
I have a virtual host called secure.4tfc.com. It has its own exclusive IP address assigned to it which is different then the shared server IP.
From /var/www/vhosts/secure.4TFC.com/statistics/logs/error_ssl_log
[Fri May 25 15:21:09 2007] [warn] RSA server certificate CommonName (CN) `secure.4tfc.com' does NOT match server name!?
cat /var/www/vhosts/secure.4TFC.com/conf/httpd.include | grep ServerName
ServerName secure.4TFC.com:443
ServerName secure.4TFC.com:80
From those lines above, it seems that the server is complaining that the cert CN of `secure.4tfc.com' does not match the apache ServerName of secure.4TFC.com.
So to fix it I changed the vhost httpd.include file to be all lowercase - deleted the error_ssl_log file to clear the log (renaming is fine too) and then restarted apache - the warning went away.
There is no mention in the help docs that this information is case sensitive, as in windows it isn’t (as are lots of other things, I know....).
When the domain was added to Plesk the SLD was all upper case, and Plesk preserved the case when adding the domain into apache - however the cert was generated in all lower case - causing this problem.
