You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/11/19 18:17:00 UTC

[jira] [Commented] (GEODE-7451) Add certificate & private key in correct order to avoid exception

    [ https://issues.apache.org/jira/browse/GEODE-7451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16977680#comment-16977680 ] 

ASF subversion and git services commented on GEODE-7451:
--------------------------------------------------------

Commit 13caf576e6b0e7d673f42ffa57cf81a73d2a15db in geode-native's branch refs/heads/develop from Alberto Bustamante Reyes
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=13caf57 ]

GEODE-7451: Fix cert & priv key add order (#550)



> 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
>            Assignee: Alberto Bustamante Reyes
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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)