CA stack service failed to start

拜拜、爱过 提交于 2019-12-13 03:14:00

问题


I'm having this error while deploying stack of CA.

Error: Failed to find private key for certificate in '/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem': Could not find matching private key for SKI: Failed getting key for SKI [[21 208 34 108 92 98 114 142 23 136 0 189 188 55 155 135 23 90 147 173 157 62 155 19 173 212 128 3 175 212 121 41]]: Key with SKI 15d0226c5c62728e178800bdbc379b87175a93ad9d3e9b13add48003afd47929 not found in /etc/hyperledger/fabric-ca-server/msp/keystore

I have made sure that key is same as "crypto-config/peerOrganizations/org1.example.com/ca" in yml file. But still its throwing error.. Any idea about this?


回答1:


Within the docker run command, are you placing the secret key inside curly brackets such as this?

FABRIC_CA_SERVER_CA_KEYFILE=/etc/hyperledger/fabric-ca-server-config/{15d0226c5c62728e178800bdbc379b87175a93ad9d3e9b13add48003afd47929}

If so, the cause of your error is that this isn't the correct path. Remove the brackets to make the path complete.



来源:https://stackoverflow.com/questions/51532609/ca-stack-service-failed-to-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!