简体   繁体   English

在 Hypeledger Fabric 中重新启动 ca 服务器时出错

[英]Error while restarting ca server in Hypeledger Fabric

Intermediate ca server docker container gets exited somehow so I have tried to restart the corresponding docker container but I'm not able to restart the service and these are the logs of the docker container:中间 ca 服务器 docker 容器以某种方式退出,所以我试图重新启动相应的 docker 容器,但我无法重新启动服务,这些是 Z05B6053C41A2130AFD6FC3B158BDA 容器的日志:

Error: Validation of certificate and key failed: Invalid certificate and/or key in files '/tlsca/ca-cert.pem' and '/etc/hyperledger/fabric-ca-server-config/ica.consigner.biltilink.com.key.pem': Public key and private key do not match

Can someone please help me with this as to how to restart the service properly because I'm confused how the certificates gets changed while I'm just restarting the service.有人可以帮我解决如何正确重新启动服务的问题,因为我很困惑在重新启动服务时证书是如何更改的。 And please help me with this so that I can restart my service.请帮我解决这个问题,以便我可以重新启动服务。

If you restart the CA server and want to all previously certificates to continue to work with the CA, you MUST use the same cert/key pair as before in fabric-ca-server.config file because it will create new set of keys and certificates if previously certificate and key not points n server configuration file.如果您重新启动 CA 服务器并希望所有以前的证书继续与 CA 一起使用,您必须在 fabric-ca-server.config 文件中使用与以前相同的证书/密钥对,因为它将创建一组新的密钥和证书如果以前的证书和密钥不指向 n 服务器配置文件。 So docker-comose file have volume section for persistent keys, cert and fabric-ca-server.config file所以 docker-comose 文件有用于持久密钥、证书和 fabric-ca-server.config 文件的卷部分

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Hyperledger Fabric CA 服务器 - 初始化 BCCSP PKCS11 库时出错 - Hyperledger Fabric CA server - getting error while initializing BCCSP PKCS11 library 如何为新组织启动单个Fabric CA服务器-错误 - How to start an individual Fabric CA server for a new organisation - Error 使用修改后的 fabric-server-config 初始化结构 ca - Initialise fabric ca with modified fabric-server-config 错误:未找到hyperledger / fabric-ca:的清单 - ERROR: manifest for hyperledger/fabric-ca:latest not found 正在提取ca.org1.example.com(hyperledger / fabric-ca:-1.0.4)…错误:无效的标签格式 - Pulling ca.org1.example.com (hyperledger/fabric-ca:-1.0.4)… ERROR: invalid tag format 如何从hyperledger中的hfc-key-store中的真实fabric-ca-server证书派生证书? - how certificates get derived from the real fabric-ca-server certificate in hfc-key-store in hyperledger? centos 7服务器在构建docker映像时不断重启 - centos 7 server keeps restarting while building the docker images 在MacOS的Hyperledger Fabric中运行make时出错 - Error while running make in Hyperledger Fabric on MacOS 启动Hyperledger后无法启动Fabric CA - Fabric CA not started after starting Hyperledger 启动/重新启动/停止Docker容器时出现错误 - Getting error while starting/restarting/stopping docker containers
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM