ssl error using .crt file

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Jan 24 15:23:46 UTC 2011


On Sun, 23 Jan 2011 22:10:20 +0530, Pankaj More <pankajmore at gmail.com> 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.

Sebastian

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: <http://lists.alioth.debian.org/pipermail/offlineimap-project/attachments/20110124/eacc65bb/attachment.pgp>


More information about the OfflineIMAP-project mailing list