Getting fingerprint from Apache certificate (combined with key)
- by Alois Mahdal
I have just created a certificate for my Apache SSL host using:
make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/ssl/private/myhost.crt
Now that is the correct way to get the fingerprint out of it? (So I can keep it in other place for visual comparison---in case I need to connect and really don't trust the network?)
openssl sha1 /etc/ssl/private/myhost.crt
returns different SHA1 than Opera tells me about the cert. Is this because it's combined with the key?
(...or am I spoofed already? :-)).