Re: Public and private key compatibility

2008-07-24 Thread Victor Duchovni
On Thu, Jul 24, 2008 at 04:06:45PM +, [EMAIL PROTECTED] wrote: > On 24/7/2008, "Victor Duchovni" <[EMAIL PROTECTED]> > wrote: > >Sample call sequence: > > > > if (SSL_CTX_use_certificate_chain_file(...) <= 0) { > > /* error */ > > } > > if (SSL_CTX_use_PrivateKey_file(.

Re: Public and private key compatibility

2008-07-24 Thread earthworm
On 24/7/2008, "Victor Duchovni" <[EMAIL PROTECTED]> wrote: >Sample call sequence: > > if (SSL_CTX_use_certificate_chain_file(...) <= 0) { > /* error */ > } > if (SSL_CTX_use_PrivateKey_file(...) <= 0) { > /* error */ > } > if (!SSL_CTX_check

Re: Public and private key compatibility

2008-07-24 Thread Victor Duchovni
On Thu, Jul 24, 2008 at 09:55:53AM +, [EMAIL PROTECTED] wrote: > Hello list, > > I'd like to do more in my application on verifying the SSL certificates > used. I'm finding that if I change my private key, but don't alter the > ASN1 structure, then this fact isn't detected until later when I

Public and private key compatibility

2008-07-24 Thread earthworm
Hello list, I'd like to do more in my application on verifying the SSL certificates used. I'm finding that if I change my private key, but don't alter the ASN1 structure, then this fact isn't detected until later when I try to do an actual SSL handshake. Is there anyway to do this as part of my p