【问题标题】:My admincerts got expired and how to renew them after expiry when all the nodes are giving bad certificate error?我的 admincerts 已过期,当所有节点都给出错误的证书错误时,如何在过期后更新它们?
【发布时间】:2020-12-19 21:26:35
【问题描述】:

我的 admincerts 已过期,当所有节点都给出错误的证书错误时,如何在过期后更新它们?我正在使用 hyperledger fabric 1.4 版本和 raft 共识?有可能摆脱这种锁定状态吗?我

2020-12-18 11:25:41.676 UTC [core.comm] ServerHandshake -> ERRO 702 TLS handshake failed with error remote error: tls: bad certificate server=PeerServer remoteaddress=1**.***.***.3:47104

【问题讨论】:

    标签: hyperledger-fabric hyperledger hyperledger-chaincode hyperledger-fabric-ca


    【解决方案1】:

    首先,日志没有说任何诸如过期证书之类的内容。 我建议使用 OpenSSL 检查证书的详细信息。更多的日志有利于调试。

    how to view the contents of a .pem certificate

    使用 Open SSL 更新自签名证书。确保您拥有私钥。

    How to renew a self-signed openssl PEM certificate

    接下来,您将需要重新启动容器。 如果您正在运行 HLF 的 docker 化版本,请确保在删除之前有冗余

    【讨论】:

      猜你喜欢
      • 2017-03-17
      • 2019-08-04
      • 1970-01-01
      • 1970-01-01
      • 2019-12-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-18
      相关资源
      最近更新 更多