CA Stack服务无法启动 [英] CA stack service failed to start

查看:152
本文介绍了CA Stack服务无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在部署CA堆栈时出现此错误.

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

错误:无法在中找到证书的私钥 '/etc/hyperledger/fabric-ca-server-config/ca.org1.example.com-cert.pem': 找不到与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]]:带有SKI的密钥 15d0226c5c62728e178800bdbc379b87175a93ad9d3e9b13add48003afd47929不是 在/etc/hyperledger/fabric-ca-server/msp/keystore中找到

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

我确保密钥与yml文件中的"crypto-config/peerOrganizations/org1.example.com/ca"相同.但仍然是抛出错误.对此有任何想法吗?

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?

推荐答案

在docker run命令中,您是否将密钥放置在这样的大括号内?

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}

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.

这篇关于CA Stack服务无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆