Hi, all:
 
I am trying to use SSL_CTX_use_certificate_chain_file to load a chained
certificate, but it return non-1.  The wired thing is that it doesn't
print any error, I try everything ERR_print_errors_fp(),
Err_get_error(), etc. 
 
The first thing I want to rule out is that the file can't be found.  So,
how does this function search the specified file? Is there any setting
it takes to do the search? I tried specify the absolute path and also
tried just put the file in the running directory, but they didn't help. 
 
The second thing I did is to check the certificate itself to use the
command line: 
openssl verify -CAfile root.pem client.pem
I got the output saying "signature OK". 
 
Any suggestions?
 
Appreciate any help
 
-yolanda

Reply via email to