posts:x.509-certificates: Mention openssl x509's -hash
authorW. Trevor King <wking@tremily.us>
Thu, 4 Jun 2015 19:46:31 +0000 (12:46 -0700)
committerW. Trevor King <wking@tremily.us>
Thu, 4 Jun 2015 19:46:31 +0000 (12:46 -0700)
This is useful for building certificate chains when intermediate
certificates aren't in your /etc/ssl/certs.

posts/X.509_certificates.mdwn

index ffb652dfc1df4dff55f92e939db293f0b6ede3ee..abf0b505cca75c95945f8db0f3fe2bf804c12e6e 100644 (file)
@@ -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][].