]> gitweb.fluxo.info Git - ssl-wrapper.git/commitdiff
Adds sha256 fingerprint into ssl retrieve
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 12 Oct 2017 12:42:46 +0000 (09:42 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 12 Oct 2017 12:42:46 +0000 (09:42 -0300)
ssl

diff --git a/ssl b/ssl
index ea5bfefe888eceaf023bf8f7b509e6ba6e9f3293..ccdbeaf88b1f71cc8cefedb4d24626dc0330566f 100755 (executable)
--- a/ssl
+++ b/ssl
@@ -36,6 +36,7 @@ function retrieve {
 function fingerprint {
   openssl x509 -noout -in $1 -fingerprint
   openssl x509 -noout -in $1 -fingerprint -md5
+  openssl x509 -noout -in $1 -fingerprint -sha256
 }
 
 # Parse option