48 | | Email was configured on ticket:494 and when the mails server SSL cert is changed it's fingerprint needs updating, see ticket:494#comment:21 |
| 48 | Email was configured on ticket:494 and when the mails server SSL cert is changed it's fingerprint needs updating, see ticket:494#comment:21 and ticket:750, these are the steps that need to be followed when the cert at mail.webarch.net is updated: |
| 49 | |
| 50 | Check for this issue: |
| 51 | |
| 52 | {{{ |
| 53 | su-trac |
| 54 | fetchmail |
| 55 | fetchmail: mail.webarch.net fingerprints do not match! |
| 56 | 140106143241896:error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed:s3_clnt.c:1172: |
| 57 | fetchmail: SSL connection failed. |
| 58 | fetchmail: socket error while fetching from trac.tech.transitionnetwork.org@mail.webarch.net |
| 59 | fetchmail: Query status=2 (SOCKET) |
| 60 | }}} |
| 61 | |
| 62 | Get the new fingerprint: |
| 63 | |
| 64 | {{{ |
| 65 | fetchmail -v -p imap -u trac.tech.transitionnetwork.org mail.webarch.net | grep -i "key fingerprint" |
| 66 | fetchmail: mail.webarch.net key fingerprint: EE:E3:86:28:53:FB:E9:C4:97:68:C7:43:11:CA:CC:6C |
| 67 | }}} |
| 68 | |
| 69 | Update {{{/web/tech.transitionnetwork.org/.fetchmailrc}}} with the new fingerprint and test: |
| 70 | |
| 71 | {{{ |
| 72 | fetchmail |
| 73 | 22 messages for trac.tech.transitionnetwork.org at mail.webarch.net. |
| 74 | reading message trac.tech.transitionnetwork.org@mail.webarch.net:1 of 22 (2047 header octets) (2041 body octets) flushed |
| 75 | reading message trac.tech.transitionnetwork.org@mail.webarch.net:2 of 22 (1284 header octets) (10980 body octets) flushed |
| 76 | reading message trac.tech.transitionnetwork.org@mail.webarch.net:3 of 22 (1284 header octets) (10332 body octets) flushed |
| 77 | ... |
| 78 | |
| 79 | }}} |
| 80 | |