bin-utils/gmail_fingerprints.sh

6 lines
209 B
Bash
Raw Normal View History

2015-05-30 16:42:42 +00:00
#!/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}'