Tuesday, February 5, 2013

Error with fetchmail and ssl certificate

After adding a new pop3 mailserver to my .fetchmailrc i get with every mailexchange this errors in my logfile:

Jan 20 01:57:35 server2 fetchmail[27210]: Warnung: Die Verbindung ist unsicher, mache trotzdem weiter. (Nehmen Sie lieber --sslcertck!)
Jan 20 01:57:35 server2 fetchmail[27210]: Fehler bei Server-Zertifikat-Überprüfung: self signed certificate


There is a SSL problem when retrieving the mails.
To solve this i first see what ssl fingerprints the pop3 server has.
For this i start fetchmail from shell:
fetchmail -v -f /etc/.fetchmailrc

And add the shown fingerprints to my .fetchmailrc.
After every user i put this line:
options ssl sslfingerprint "00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00"

No comments:

Post a Comment