Hi,

my application intends to verify the peer for an SSL connection, and usually, one can use the SSL_CTX_load_verify_locations function for that.
However, that function requires that the certificate is written to a file, and this is unsafe for my application since the root user on the same machine could modify that file.
Is there any way to pass the certificate from my application to the OpenSSL library as a string so that modifications are quite improbable?


Thanks in advance,

Andreas
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to