According to the available APIs:

1. There is no way you can get from SSL_CTX object directly. 

2. To get certificate from SSL object:
You can get the certificate by calling SSL_get_certificate. To get the
peer certificate use SSL_get_peer_certificate.

3. To get private key of your application:
There is no way.

-JB

(To get private key of the peer (I hope you are not asking this): Impossible.)


On 8/9/05, david kine <[EMAIL PROTECTED]> wrote:
> How do I access the client certificate and private key
> from an SSL_CTX?
> 
> It was previously loaded into the SSL_CTX with
> SSL_CTX_use_certificate() and
> SSL_CTX_use_PrivateKey().
> 
> Thanks for the help,
> 
> -David
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [email protected]
> Automated List Manager                           [EMAIL PROTECTED]
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to