[PYTHON-CRYPTO] M2Crypto questions

Tim Newsham newsham at LAVA.NET
Fri Oct 3 01:17:20 CEST 2008


Hi,
    I have several questions about M2Crypto and SSL verification.

   - Is there any code to load in the certificate roots from the
     windows certificate store?
   - Is it possible to validate the certificate against a set of roots
     after the connection has been made (ie. not using ctx.set_verify()
     to force verification at connection time)?
   - Is it possible to view the certificate chain used in the validation?
   - Is it possible to get a specific error about certificate validation
     failures that describes the cause of the validation failure?

Tim Newsham
http://www.thenewsh.com/~newsham/



More information about the python-crypto mailing list