Alberto Bustamante Reyes created GEODE-7451:
-----------------------------------------------
Summary: Add certificate & private key in correct order to avoid
exception
Key: GEODE-7451
URL: https://issues.apache.org/jira/browse/GEODE-7451
Project: Geode
Issue Type: Improvement
Components: native client
Reporter: Alberto Bustamante Reyes
When using TLS, geode native client throws an exception due to wrong order on
method calling:
"Exception while querying locator: apache::geode::client::SslException: Invalid
SSL keystore password."
This is due to in SSLImpl.cpp constructor, the private key is added before the
certificate. According to ACE documentation, we should reverse order due to
when the private key is added it is verified against the certificate. So we
should call sslctx->private_key after calling sslctx->certificate
http://www.aoc.nrao.edu/php/tjuerges/ALMA/ACE-5.8.1/html/ace/a00493.html#a5fa01171382ad69ac372dae7e3860211
--
This message was sent by Atlassian Jira
(v8.3.4#803005)