nano-tetra-modules/CursedScreech/includes/scripts/getFingerprint.sh

9 lines
136 B
Bash
Raw Normal View History

2017-11-16 05:42:22 +00:00
#!/bin/sh
if [ $# -lt 1 ]; then
echo "Usage: $0 <certificate>";
exit;
fi
openssl x509 -in $1 -noout -fingerprint | awk '{print $2}'