ssl error using .crt file

Sebastian Spaeth Sebastian at
Mon Jan 24 15:23:46 GMT 2011

On Sun, 23 Jan 2011 22:10:20 +0530, Pankaj More <pankajmore at> wrote:
> cant sync an imap server using custom .crt certificate
> Error:
>  [Errno 336265225] _ssl.c:347: error:140B0009:SSL
> routines:SSL_CTX_use_PrivateKey_file:PEM lib

python's SSL has interesting error messages :-).

It expects the format to be a PEM certificate. Admittedly that is never
mentioned in the documentation.


P.S. Sorry if this message goes out twice, I cannot see whether sending
worked the first time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <>

More information about the OfflineIMAP-project mailing list