[ https://issues.apache.org/jira/browse/IGNITE-10447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16704731#comment-16704731 ]
Stepan Pilschikov commented on IGNITE-10447: -------------------------------------------- [~alexey.kosenchuk] Thanks for help Found that i used string file path instead of reading key content with FS.readFileSync method > thin nodejs: can't execute example AuthTlsExample.js > ---------------------------------------------------- > > Key: IGNITE-10447 > URL: https://issues.apache.org/jira/browse/IGNITE-10447 > Project: Ignite > Issue Type: Bug > Components: thin client > Affects Versions: 2.7 > Reporter: Stepan Pilschikov > Assignee: ekaterina.vergizova > Priority: Major > > Trying to run script from nodejs/examples/AuthTlsExample.js but connection > failed > using latest [CI > build|https://ci.ignite.apache.org/viewLog.html?buildId=2410261&buildTypeId=Releases_NightlyRelease_ObsoleteApacheIgniteNightlyReleaseAssembleBinaries&tab=artifacts] > Output: > {code} > $ ignite/modules/platforms/nodejs/examples$ node AuthTlsExample.js > Client is stopped > [localhost:10800] Connection failed: Error: Client network socket > disconnected before secure TLS connection was established > ERROR: [localhost:10800] Connection failed: Error: Client network socket > disconnected before secure TLS connection was established > {code} > config.xml > {code} > <?xml version="1.0" encoding="UTF-8"?> > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd"> > <bean id="cfg" > class="org.apache.ignite.configuration.IgniteConfiguration"> > <property name="sslContextFactory"> > <bean class="org.apache.ignite.ssl.SslContextFactory"> > <property name="keyStoreFilePath" > value="/ignite/modules/platforms/nodejs/examples/certs/keystore.jks"/> > <property name="keyStorePassword" value="123456"/> > <property name="trustStoreFilePath" > value="/ignite/modules/platforms/nodejs/examples/certs/truststore.jks"/> > <property name="trustStorePassword" value="123456"/> > </bean> > </property> > </bean> > </beans> > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)