Everything was working fine with the self-signed certificate. I purchased the cert and all of that went fine. Plugged the info into WHM and at least have it to the point where when I log into WHM it sees the cert.
HOWEVER, I think I screwed up with the server name portion...
The server name is main.mydomain.com. When I did the cert, I wanted to use a more generic domain that I own since I will be sharing it (same IP) so I just did it for seconddomain.com (notice no prefix used).
When I log in securely to WHM, the browser pops up with a message now saying the name on the certificate doesn't match the server name. But, if I view the certificate, it at least says seconddomain.com.
Further, I can't seem to access anything else securely. It is my understanding I should be able to to https://myipaddress/~username and see users sites over a secure connection. This does not work. Nor does going to https://myipaddress. Both return DNS / cannot find server errors.
Went through the thread about "cleanup messy SSL" but didn't find anything out of the ordinary. At this point, I just want to get this dang thing up and running so any help would be much appreciated!
The entry in httpd.conf is:
ServerAdmin webmaster@seconddomain.com
DocumentRoot /home/seconddomain/public_html
ServerName seconddomain.com
CustomLog /usr/local/apache/domlogs/seconddomain.com-ssl_log "%t %{version}c %{cipher}$
User namehere
Group namehere
SSLEnable
SSLCertificateFile /usr/share/ssl/certs/seconddomain.com.crt
SSLCertificateKeyFile /usr/share/ssl/private/seconddomain.com.key
SSLCACertificateFile /usr/share/ssl/certs/seconddomain.com.cabundle
SSLLogFile /var/log/seconddomain.com
UserDir public_html
ScriptAlias /cgi-bin/ /home/secondomain/public_html/cgi-bin/
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
TIA for the help!
PCGH