summaryrefslogtreecommitdiffstats
path: root/tools/gnutls/cert-show-fingerprint
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gnutls/cert-show-fingerprint')
-rwxr-xr-xtools/gnutls/cert-show-fingerprint6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gnutls/cert-show-fingerprint b/tools/gnutls/cert-show-fingerprint
new file mode 100755
index 00000000..f61c6840
--- /dev/null
+++ b/tools/gnutls/cert-show-fingerprint
@@ -0,0 +1,6 @@
+#/bin/sh
+# must be called with the certificate file as first parameter. Displays all
+# fingerprints for the first certificate.
+# 2008-05-08, rgerhards
+# TODO: make this a robust shell script
+certtool -i < $1|grep Fingerprint