You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ariel Weisberg (JIRA)" <ji...@apache.org> on 2019/01/31 17:15:00 UTC

[jira] [Comment Edited] (CASSANDRA-14991) SSL Cert Hot Reloading should check for sanity of the new keystore/truststore before loading it

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

Ariel Weisberg edited comment on CASSANDRA-14991 at 1/31/19 5:14 PM:
---------------------------------------------------------------------

+1
Can you add CHANGES.txt, squash, rebase, remove the CircleCI changes? I'll merge it then.


was (Author: aweisberg):
Can you add CHANGES.txt, squash, rebase, remove the CircleCI changes? I'll merge it then.

> SSL Cert Hot Reloading should check for sanity of the new keystore/truststore before loading it
> -----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-14991
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14991
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Encryption
>            Reporter: Dinesh Joshi
>            Assignee: Dinesh Joshi
>            Priority: Major
>              Labels: security
>             Fix For: 4.0
>
>
> SSL Cert Hot Reloading assumes that the keystore & truststore are valid. However, a corrupt store or a password mismatch can cause Cassandra to fail accepting new connections as we throw away the old {{SslContext}}. This patch will ensure that we check the sanity of the certificates during startup and during hot reloading. This should protect against bad key/trust stores. As part of this PR, I have cleaned up the code a bit.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org