summaryrefslogtreecommitdiffstats
path: root/tools/gnutls/cert-show-fingerprint
blob: f61c6840017506f3dd5e320e6487599235ae2441 (plain)
1
2
3
4
5
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