Re: Question on certificate chain creation in using SSL_CTX_use_certificate_chain_file

2014-05-29 Thread Viktor Dukhovni
On Thu, May 29, 2014 at 12:53:06PM -0700, David Li wrote: > Say, I have a servercert.pem, serverkey.pem and cacert.pem. When > using SSL_CTX_use_certificate_chain_file() to load a cert file as the > second argument, I will have to construct the file like this: > > cat servercert.pem serverkey.pe

Question on certificate chain creation in using SSL_CTX_use_certificate_chain_file

2014-05-29 Thread David Li
Hi, Say, I have a servercert.pem, serverkey.pem and cacert.pem. When using SSL_CTX_use_certificate_chain_file() to load a cert file as the second argument, I will have to construct the file like this: cat servercert.pem serverkey.pem cacert.pem > server.pem and use server.pem in the API. My qu