Saturday, 10 August 2013

Using trusted certificate on Windows with OpenSSL

Using trusted certificate on Windows with OpenSSL

I'm using OpenSSL on Windows and would like to use a certificate in
Windows Certificate Storage as a trusted CA container with
CASSL_CTX_load_verify_locations(). Unfortunately, OpenSSL only supports
PEM files and don't allow direct access to the Windows Certificate
Storage. How can I make this work on Windows, do I have to use the Windows
CryptoAPI and dump the certificate as a PEM file to disk or is there a
better way of doing this?

No comments:

Post a Comment