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

Maulin Vasavada commented on CASSANDRA-18124:
---------------------------------------------

Thanks [~rtib] for the review. I can update the cassandra yaml to have the PEM 
example in comments. Also I'll try to check on the Nodetool output. I fixed the 
issue of getting truststore warning for the PEM and made truststore password 
also nullable but this warning I need to check. Earlier it came because of 
defaults and the fallback of `key_password` to `keystore_password` in the 
absence of the prior, now it could be the same reason. Meanwhile [~smiklosovic] 
can we get any additional PR reviews to have more eyes on this ?

> Config parameter keystore_password should be nullable
> -----------------------------------------------------
>
>                 Key: CASSANDRA-18124
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18124
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Local/Config
>            Reporter: Tibor Repasi
>            Assignee: Maulin Vasavada
>            Priority: Normal
>             Fix For: 4.1.x, 5.x
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Some SSL configuration may pass unencrypted private keys. PEMReader might 
> accept that by assuming keyPassword to be null in that case (e.g. 
> https://github.com/apache/cassandra/blob/f9e033f519c14596da4dc954875756a69aea4e78/src/java/org/apache/cassandra/security/PEMReader.java#L103).
> Current configuration reader does not accept keystore_password parameter to 
> be set null or empty in the cassandra.yaml.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to