From a353f94ae693b464bb8ea1b0eb87729142fe6f56 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sat, 6 Jan 2018 22:32:59 -0500 Subject: [PATCH] Add fingerprint text, remove MD5 Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4906) (cherry picked from commit 794bf5f756ad4748735e9b333c40d2b1bf685c36) --- doc/apps/x509.pod | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/apps/x509.pod b/doc/apps/x509.pod index d50625862a..408a5c6b85 100644 --- a/doc/apps/x509.pod +++ b/doc/apps/x509.pod @@ -225,8 +225,11 @@ non-zero if yes it will expire or zero if not. =item B<-fingerprint> -prints out the digest of the DER encoded version of the whole certificate -(see digest options). +Calculates and outputs the digest of the DER encoded version of the entire +certificate (see digest options). +This is commonly called a "fingerprint". Because of the nature of message +digests, the fingerprint of a certificate is unique to that certificate and +two certificates with the same fingerprint can be considered to be the same. =item B<-C> @@ -674,10 +677,6 @@ supporting UTF8: openssl x509 -in cert.pem -noout -subject -nameopt oneline,-esc_msb -Display the certificate MD5 fingerprint: - - openssl x509 -in cert.pem -noout -fingerprint - Display the certificate SHA1 fingerprint: openssl x509 -sha1 -in cert.pem -noout -fingerprint @@ -731,13 +730,6 @@ T61Strings use the ISO8859-1 character set. This is wrong but Netscape and MSIE do this as do many certificates. So although this is incorrect it is more likely to display the majority of certificates correctly. -The B<-fingerprint> option takes the digest of the DER encoded certificate. -This is commonly called a "fingerprint". Because of the nature of message -digests the fingerprint of a certificate is unique to that certificate and -two certificates with the same fingerprint can be considered to be the same. - -The Netscape fingerprint uses MD5 whereas MSIE uses SHA1. - The B<-email> option searches the subject name and the subject alternative name extension. Only unique email addresses will be printed out: it will not print the same address more than once. -- 2.25.1