Mobile app version of vmapp.org
Login or Join
Candy875

: Getting fingerprint from Apache certificate (combined with key) 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

@Candy875

Posted in: #Apache #Https #SecurityCertificate

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 what 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 a different SHA1 than what Opera tells me about the cert. Is this because it's combined with the key?

(...or am I spoofed already? :-)).

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Candy875

1 Comments

Sorted by latest first Latest Oldest Best

 

@Mendez628

Try this command to determine the SHA1 fingerprint:

openssl x509 -in /etc/ssl/private/myhost.crt -sha1 -noout -fingerprint

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme