How to load a root(CA) certificate from memory?

2008-04-02 Thread geragray
Hi, My server application now reads server and root certificates from files, like that: SSL_CTX_use_certificate_chain_file(ctx, ser_cert); SSL_CTX_use_PrivateKey_file(ctx, ser_key, SSL_FILETYPE_PEM); SSL_CTX_load_verify_locations(ctx, rootcert, NULL); But for security reasons it been decided

How to load a root(CA) certificate from memory?

2008-04-02 Thread GeraGray
Hi, My server application now reads server and root certificates from files, like that: SSL_CTX_use_certificate_chain_file(ctx, ser_cert); SSL_CTX_use_PrivateKey_file(ctx, ser_key, SSL_FILETYPE_PEM); SSL_CTX_load_verify_locations(ctx, rootcert, NULL); But for security reasons it been decided

Re: How to load a root(CA) certificate from memory?

2008-04-02 Thread Dr. Stephen Henson
On Wed, Apr 02, 2008, GeraGray wrote: Hi, My server application now reads server and root certificates from files, like that: SSL_CTX_use_certificate_chain_file(ctx, ser_cert); SSL_CTX_use_PrivateKey_file(ctx, ser_key, SSL_FILETYPE_PEM); SSL_CTX_load_verify_locations(ctx, rootcert, NULL);