如何在Corda 3.1中启用TLS?

时间:2018-05-03 14:09:09

标签: corda

在Corda节点上配置TLS的正确方法是什么?

我们正在尝试在CordaApp Sample 版本3.1 上启用TLS,但Corda网络服务器中出现以下错误:

[ERROR] 2018-05-03T13:58:16,984Z [main] Main.main - Exception during node startup {}
org.apache.activemq.artemis.api.core.ActiveMQConnectionTimedOutException: AMQ119013: Timed out waiting to receive cluster topology. Group:null
    at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory(ServerLocatorImpl.java:804)

node.conf文件是:

myLegalName="O=PartyA,L=London,C=GB"
p2pAddress="localhost:10005"
rpcSettings = {
    address="localhost:10006"
    adminAddress="localhost:10046"
    useSsl=true
    ssl {
        certificatesDirectory="./certificates"
        keyStorePassword="cordacadevpass"
        trustStorePassword="trustpass"
    }    
}
rpcUsers=[
    {
        password=test
        permissions=[
            ALL
        ]
        username=user1
    }
]
webAddress="localhost:10007"
devMode=true

1 个答案:

答案 0 :(得分:0)

根据Mike Hearn,来自Corda Ledger Slack channel,Corda 3.1中的RPC SSL已被破坏,正在进行返工in this pull request