Expired server certificate

Fredrik Melander melander at dfn-cert.de
Tue Aug 11 12:54:00 CEST 2009

Hi Michael and the list,

sorry to bother you again, but since I think my last mail drowned in the
unusually high traffic that day, I'm posting my question again. I've
done some research since then I really can't figure this one out.

This relates to my previous question about server certificates. Simply
put: how do I get python-ldap to throw an exception when the server
certificate is expired?

I've given my LDAP server an expired cert for testing, but when calling
start_tls_s() the script just proceeds as were nothing wrong.

Wading through the source code and google results unfortunately didn't
get me any further either.

Thankful for any advice!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5927 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20090811/30e7535d/attachment.bin>

More information about the python-ldap mailing list