From 9422d45de2b70cabec5f6e6a5c812e0647e6d3ab Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Sat, 4 Nov 2017 10:40:49 -0400 Subject: [PATCH] Add fingerprint text, remove MD5 Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4906) --- doc/man1/x509.pod | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/doc/man1/x509.pod b/doc/man1/x509.pod index e57e18b4ae..1140e2570e 100644 --- a/doc/man1/x509.pod +++ b/doc/man1/x509.pod @@ -259,8 +259,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> @@ -725,10 +728,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 @@ -782,13 +781,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