[英]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.