V4.2.1, SSL CA Path issue

Bill Chen Bill.Chen at ecitele.com
Fri Dec 4 14:50:13 GMT 2015


Hello everyone,
  omniORB V4.2.1 introduces a very important feature for SSL: a new attribute named certificate_authority_path in sslContext.h. It's designed to put all trusted certificates in the folder.
  When I tested this feature, I found the certificates in this folder just didn't work. What I did was to add a new line in examples/ssl_echo/eg2_impl.cc like the following, and put one certificate (in pem format) to the "/home/foo/trustedca" folder:

//...
int main(int argc, char** argv)
{
  sslContext::certificate_authority_file = "root.pem";

//I added this line
  sslContext::certificate_authority_file = "/home/foo/trustedca";

  sslContext::key_file = "server.pem";
  sslContext::key_file_password = "password";
//...


  If I move the certificate to the root.pem file, it works fine.
  Did I do anything wrong? Thanks.

Best Regards,
Bill Chen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20151204/98db28af/attachment.html>


More information about the omniORB-list mailing list