V4.2.1, SSL CA Path issue
Bill Chen
Bill.Chen at ecitele.com
Fri Dec 4 14:54:54 GMT 2015
Sorry, one correction: the line I added to the eg2_impl.cc was :
//I added this line
sslContext::certificate_authority_path = "/home/foo/trustedca”;
it doesn’t work.
Best Regards,
Bill Chen
From: Bill Chen
Sent: 2015年12月4日 22:50
To: 'omniorb-list at omniorb-support.com'
Subject: V4.2.1, SSL CA Path issue
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_path = "/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/b7225920/attachment.html>
More information about the omniORB-list
mailing list