我完全按照官方教程https://webasedoc.readthedocs.io/zh-cn/latest/docs/WeBASE-Install/developer.html快入入门搭建进行操作,靠拷贝了sdk证书文件,但日志中一直报错ssl handshake failed。
具体内容如下:
Caused by: org.fisco.bcos.sdk.network.NetworkException:
====> STEP1: try to connect nodes with ecdsa context...
<==== STEP1-1: Load certificates for ecdsa context success...
<==== STEP1 Result: try to connect nodes with ecdsa context failed. reason:
Failed to connect to all the nodes!
- ssl handshake failed:/127.0.0.1:20200
reason: The node closes the connection. Maybe connect to the sm node with ecdsa context or the node and the SDK are not belong to the same agency.
====> STEP2: connect nodes with ecdsa context failed, try to connect nodes with sm-context...
<==== STEP2 Result: connect with sm context failed for cert missing.
- Missed certificates:
[conf/gm/gmca.crt,conf/gm/gmsdk.crt,conf/gm/gmsdk.key,conf/gm/gmensdk.key,conf/gm/gmensdk.crt,]
currentPath: /home/hzaucoi/webase-front
<====> Error: try to connect nodes with both ecdsa and sm context failed <====>
<====>�[1;31m Please refer to github issue: https://github.com/FISCO-BCOS/java-sdk/issues/536 �[0m
<====>�[1;31m Please refer to fisco-docs: https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/faq/connect.html �[0m
- FISCO BCOS Java SDK Version: 2.9.1
- Support secp256k1 : true
- Java Version : 1.8.0_462
- JDK Disabled NamedCurves : null
- JDK DisableNative Option : false
- OS Name : Linux
- OS Arch : amd64
- OS Version : 6.8.0-64-generic
- JVM Version : 25.462-b08
- JVM Vendor : Private Build
- JVM Vendor URL : http://java.oracle.com/