From 5c9aa466428cac0f572a8ed8ae9a110c63089e83 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 4 Jun 2015 12:46:31 -0700 Subject: [PATCH] posts:x.509-certificates: Mention openssl x509's -hash This is useful for building certificate chains when intermediate certificates aren't in your /etc/ssl/certs. --- posts/X.509_certificates.mdwn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/posts/X.509_certificates.mdwn b/posts/X.509_certificates.mdwn index ffb652d..abf0b50 100644 --- a/posts/X.509_certificates.mdwn +++ b/posts/X.509_certificates.mdwn @@ -102,6 +102,10 @@ You can also print certificates with [x509][]. $ openssl x509 -in cert.pem -noout -text +Or just the hash with: + + $ openssl x509 -in cert.pem -noout -hash + You can verify a certificate if you can supply the whole certificate chain with [verify][]. -- 2.26.2