In a message of Fri, 03 Jul 2015 17:11:10 -0700, Dennis Jacobfeuerborn writes:
>Hi,
>I'm trying to implement certificate functionality in a python app but after
>fighting with pyOpenSSL and M2Crypto I'm thinking about writing wrapper
>functions for the OpenSSL command line tool instead or switching the app to
>another language all together.
>
>Apparently PyOpenSSL has no way to save a public key to a file which is
>baffling. M2Crypto has that ability but apparently no usable way to verify a
>certificate?
PyOpenSSL does, you must have missed it when looking.
You are looking for OpenSSL.crypto.dump_certificate(type, cert)
Dump the certificate cert into a buffer string encoded with the type type.
Laura
--
https://mail.python.org/mailman/listinfo/python-list