So in my sites-available/default-ssl.conf file I have the follwing entries:
Code:
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
When browsing to my site using ssl/tls, I expect to get a warning, which I do. I can access the details of the certificate in the browser certificate warning window. My question is: how can I check this against the certificate on the server? I thought a simple md5sum or sha1sum would be possible, but I can't seem to get a match with the information the browser warning is giving me.
I have full access to my server, so the information should be there. I thought that /etc/ssl/certs/ssl-cert-snakeoil.pem would be the public key/server certificate. Therefore I should be able to check this against the browser warning/info. How?
Thanks