From BStegmaier

Jump to: navigation, search

Fetchmail requires fingerprints of ssl certificates to not display warning messages. How do we get such a md5sum?

openssl s_client -connect $SERVER:$PORT -showcerts | openssl x509 -fingerprint -noout -md5


The output might look like this

depth=1 /C=US/O=Equifax Secure Inc./CN=Equifax Secure Global eBusiness CA-1
verify error:num=19:self signed certificate in certificate chain
verify return:0
MD5 Fingerprint=09:0E:5C:1A:DB:0F:5C:81:C0:20:B7:67:C1:CC:DB:B5


Just copy the fingerprint to your fetchmailrc and you are done.

/etc/fetchmailrc or ~/.fetchmailrc
poll ... sslfingerprint '09:0E:5C:1A:DB:0F:5C:81:C0:20:B7:67:C1:CC:DB:B5'