Re: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-12-02 Thread Ashok C
Hi Dave, But even with that done/fixed in my test environment I DO get verify error 24 invalid CA cert depth 1 (my only intermediate). Is that what you're getting? If so, it looks like maybe the 'purpose' checks have been made stricter since the last time I did this in test, where I have

RE: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-12-01 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Ashok C Sent: Wednesday, 30 November, 2011 00:51 Some more followup questions here: In case of a server application, it is expected to send the intermediate certificates to the client. And in this case,

Re: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-12-01 Thread Ashok C
Hi Dave, Keeping the things you have mentioned in mind, this is how it goes. In server side, EE key is loaded using SSL_CTX_use_RSAPrivateKey_file(ctx,eekeyfile,SSL_FILETYPE_PEM); EE certificate is loaded using SSL_CTX_use_certificate_file(ctx, eepemfile,SSL_FILETYPE_PEM); And the intermediate

Re: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-11-29 Thread Ashok C
Hi Dave, Thanks for the reply. Some more followup questions here: In case of a server application, it is expected to send the intermediate certificates to the client. And in this case, is this API -- SSL_CTX_load_verify_locations( ) sufficient to be used? Or is there a separate API to send

RE: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-11-28 Thread Dave Thompson
From: owner-openssl-us...@openssl.org On Behalf Of Ashok C Sent: Monday, 28 November, 2011 00:35 One more question here: In case of a server application, it is expected to send the intermediate certificates to the client. And in this case, is this API --

RE: Usage of CAPath/CAFile options in int SSL_CTX_load_verify_locations Reg.

2011-11-27 Thread Ashok C
Hi, One more question here: In case of a server application, it is expected to send the intermediate certificates to the client. And in this case, is this API -- SSL_CTX_load_verify_locations() sufficient to be used? Or is there a separate API to send the intermediate CA certificates across to