Problem with PKCS12 and SSL_CTX_add_extra_chain_cert

2008-11-03 Thread Matteo Agnelli
Hi everyone. I'm having some problem with the SSL_CTX_add_extra_chain_cert function related with the use with pkcs12 certificate file. Here's the situation: I want to add to the verification tree of the CA certs the certs stored in the pkcs12 file, but I get some problem using the function above.

Re: How to protect the private key !

2008-11-06 Thread Matteo Agnelli
2008/11/5 BiGNoRm6969 <[EMAIL PROTECTED]> > > Hi, > > I did not know about the function EVP_PKEY *PEM'_read_PrivateKey(FILE *fp, > EVP_PKEY **pkey,pem_password_callback function *cb,void *u ) and it's > exactly what I need to use (very similar situation like the author of this > thread). > > Howev