You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Maxim Muzafarov (Jira)" <ji...@apache.org> on 2019/10/10 11:18:00 UTC

[jira] [Updated] (IGNITE-10911) Need to enforce truststore key when control utility connect to cluster with SSL enabled

     [ https://issues.apache.org/jira/browse/IGNITE-10911?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Muzafarov updated IGNITE-10911:
-------------------------------------
    Fix Version/s:     (was: 2.8)
                   2.9

> Need to enforce truststore key when control utility connect to cluster with SSL enabled
> ---------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10911
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10911
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: ARomantsov
>            Priority: Major
>             Fix For: 2.9
>
>
> I use the next setting in my app
> {code:java}
>         <property name="clientConnectorConfiguration">
>             <bean class="org.apache.ignite.configuration.ClientConnectorConfiguration">
>                 <property name="sslEnabled" value="true"/>
>                 <property name="sslClientAuth" value="true"/>
>                 <property name="sslContextFactory">
>                     <bean class="org.apache.ignite.ssl.SslContextFactory">
>                         <property name="keyStoreFilePath" value="${TEST_DIR}/server.jks"/>
>                         <property name="keyStorePassword" value="*"/>
>                         <property name="trustStoreFilePath" value="${TEST_DIR}/trust.jks"/>
>                         <property name="trustStorePassword" value="*"/>
>                     </bean>
>                 </property>
>             </bean>
>         </property>
>         <property name="sslContextFactory">
>             <bean class="org.apache.ignite.ssl.SslContextFactory">
>                 <property name="keyStoreFilePath" value="${TEST_DIR}/server.jks"/>
>                 <property name="keyStorePassword" value="*"/>
>                 <property name="trustStoreFilePath" value="${TEST_DIR}/trust.jks"/>
>                 <property name="trustStorePassword" value="*"/>
>             </bean>
>         </property>
>         <!-- Enable SSL for external connect  -->
>         <property name="connectorConfiguration">
>             <bean class="org.apache.ignite.configuration.ConnectorConfiguration">
>                 <property name="sslEnabled" value="true"/>
>                 <property name="sslClientAuth" value="true"/>
>             </bean>
>         </property>
> {code}
> And can get the result of command - control.bat --baseline --keystore..\server.jks --keystore-password * without set up truststore



--
This message was sent by Atlassian Jira
(v8.3.4#803005)