TLS CA Certificate Loading in DER format

2009-09-14 Thread ramaswamy.bm
Hi, I am to use TLS for securing an application's data transfer. For development purposes I have been using a dummy set of certificates in PEM format. The currently used SSL_CTX_load_verify_locations API requires that the certificate be in PEM format. However, in real time

Re: TLS CA Certificate Loading in DER format

2009-09-14 Thread Francois Dupressoir
Hello Ram, You may be interested in the d2i_X509_fp() function [http://openssl.org/docs/crypto/d2i_X509.html#] in conjunction with SSL_CTX_use_certificate() [http://www.openssl.org/docs/ssl/SSL_CTX_use_certificate.html#]. Cheers, Francois ramaswamy.bm wrote: Hi, I am to use TLS for

Re: TLS CA Certificate Loading in DER format

2009-09-14 Thread Peter Sylvester
I think the desired function is X509_STORE_add_cert SSL_CTX_use_certificate is to select you own certificate. Francois Dupressoir wrote: Hello Ram, You may be interested in the d2i_X509_fp() function [http://openssl.org/docs/crypto/d2i_X509.html#] in conjunction with

Re: TLS CA Certificate Loading in DER format

2009-09-13 Thread David Shambroom
d2i_X509_fp() Chaitra Shankar wrote: Hi, I am to use TLS for securing an application's data transfer. For development purposes I have been using a dummy set of certificates in PEM format. The currently used SSL_CTX_load_verify_locations API requires that the certificate be in

TLS CA Certificate Loading in DER format

2009-09-11 Thread Chaitra Shankar
Hi, I am to use TLS for securing an application's data transfer. For development purposes I have been using a dummy set of certificates in PEM format. The currently used "SSL_CTX_load_verify_locations" API requires that the certificate be in PEM format. However, in real time scenario,