From: W. Trevor King Date: Thu, 4 Jun 2015 19:46:31 +0000 (-0700) Subject: posts:x.509-certificates: Mention openssl x509's -hash X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5c9aa466428cac0f572a8ed8ae9a110c63089e83;p=blog.git 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. --- 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][].