bin-utils/gmail_fingerprints.sh
2015-05-30 18:42:42 +02:00

6 lines
209 B
Bash
Executable File

#!/bin/sh
# fingerprint certificat gmail (pour fetchmail)
openssl s_client -connect imap.gmail.com:993 -showcerts < /dev/null | openssl x509 -fingerprint -md5 -text | grep Fingerprint | awk -F= '{print $2}'