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

Shawn Heisey commented on SOLR-11678:
-------------------------------------

I went on a quest to figure out the difference between key stores and trust 
stores ... I'm not even sure why you would protect a trust store with a 
password.  The info I found says that this kind of store is designed for 
information that's already available to the general public.  If that info is 
correct, then I have no idea why it would need to be protected from 
unauthorized access.  Did I find incorrect information?


> SSL not working if store and key passwords are different
> --------------------------------------------------------
>
>                 Key: SOLR-11678
>                 URL: https://issues.apache.org/jira/browse/SOLR-11678
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: security
>    Affects Versions: 6.6.2
>            Reporter: Constantin Bugneac
>
> If I specify different passwords for store and key then Solr fails to read 
> certificate from JKS file with the below error.
> Example:
> SOLR_SSL_KEY_STORE_PASSWORD: "secret1"
> SOLR_SSL_TRUST_STORE_PASSWORD: "secret2"
> If I set the same password for both - it works just fine.
> Tested with the docker image 6.6.2 available here 
> https://hub.docker.com/_/solr/
> I don't know whether this is JAVA nuance or Solr implementation issue but 
> from security point of view there there is no point to have the same password 
> assigned for both the key store and private key bound to specific certificate.
> Expected behaviour: It should allow to specify different passwords.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to