Comments (9)
My config.yaml is written like this
private_key: /home/niqinyin/go/src/github.com/kongyixueyuan.com/education/fixtures/crypto-config/peerOrganizations/org1.kevin.kongyixueyuan.com/users/[email protected]/msp/keystore/c24c159c6de601f2703c4e4273682b08cda54ebdaf4ca1c4aa4b3f80b8a91964_sk
I've tried the user's private key, too.But it always reported such an error
ERRO[0000] error connecting to localhost:7051: failed to load client certificate: tls: private key does not match public key
please help me
ref here for how we config key with fabric sample
https://github.com/guoger/tape/blob/master/test/config20org1andorg2.yaml
and here for CI....
https://dev.azure.com/guojiannan1101/guojiannan1101/_build/results?buildId=412&view=logs&j=e17a8fb5-2251-55b7-e47c-128cd85495af&t=0ddee50c-f18c-55ff-c001-5d076dda0c84&l=1
Honestly speaking, key mismatch is out of tape scope.
from tape.
@SamYuan1990 Thank you for your help. But when I write config.yaml, I don't know how to write args. My function name is "addfile",the type of its parameter is []String ,its parameter is [{"FileName":"1.txt","ID":"121","IPAdress":"1.1.1.2","OrgName":"org2","ModifyTime":"8:27 2019/9/12"},eventAddFile], how should I write the args
from tape.
@SamYuan1990 Thank you for your help. But when I write config.yaml, I don't know how to write args. My function name is "addfile",the type of its parameter is []String ,its parameter is [{"FileName":"1.txt","ID":"121","IPAdress":"1.1.1.2","OrgName":"org2","ModifyTime":"8:27 2019/9/12"},eventAddFile], how should I write the args
https://github.com/guoger/tape/blob/master/test/config14org1andorg2.yaml#L27-L29
from tape.
https://github.com/guoger/tape/blob/master/docs/configfile.md
from tape.
don't duplicate issue with #86
from tape.
My config.yaml is written like this
private_key: /home/niqinyin/go/src/github.com/kongyixueyuan.com/education/fixtures/crypto-config/peerOrganizations/org1.kevin.kongyixueyuan.com/users/[email protected]/msp/keystore/c24c159c6de601f2703c4e4273682b08cda54ebdaf4ca1c4aa4b3f80b8a91964_sk
I've tried the user's private key, too.But it always reported such an error
ERRO[0000] error connecting to localhost:7051: failed to load client certificate: tls: private key does not match public key
please help me
I'm facing the same problem, can you tell me how you solve the problem "private key does not match public key"?
the config.yaml is just like:
mspid: Org1MSP private_key: /config/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/keystore/029e6f199d81a1de05811bcadd60a0ab0ac117198ce0d4d05ef859d2f568bcfd_sk sign_cert: /config/crypto-config/peerOrganizations/org1.example.com/users/[email protected]/msp/signcerts/[email protected]
from tape.
My config.yaml is written like this
private_key: /home/niqinyin/go/src/github.com/kongyixueyuan.com/education/fixtures/crypto-config/peerOrganizations/org1.kevin.kongyixueyuan.com/users/[email protected]/msp/keystore/c24c159c6de601f2703c4e4273682b08cda54ebdaf4ca1c4aa4b3f80b8a91964_sk
I've tried the user's private key, too.But it always reported such an error
ERRO[0000] error connecting to localhost:7051: failed to load client certificate: tls: private key does not match public key
please help me
Can I ask you how you solved it? Please, I need your help.
from tape.
I checked my configuration, but didn't see where the problem was.
from tape.
In most case, TLS configuration is owned by user. Just point out how to configuration for Tape as usage guide.
As for Tape maintainer can't touch user's network or key settings.
from tape.
Related Issues (20)
- upgrade ginkgo to v2 HOT 1
- logging的策略模糊问题
- Increase test coverage
- why "empty endorsement policy" HOT 4
- why change chaincode name and function name unsuccessfully? HOT 7
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 7
- replace azp by github action HOT 4
- prometheus integration
- update readme with author HOT 1
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings" HOT 2
- 使用tape测试Fabric 1.4.4时,当指定的numbers超过200时引起MVCC冲突,求解决方案。 HOT 4
- rpc error: code = Unavailable desc = closing transport due to: connection error: desc = "error reading from server: EOF", received prior goaway: code: ENHANCE_YOUR_CALM, debug data: "too_many_pings"root HOT 7
- tape是否能看到latency数据? HOT 4
- TPS for Full Process miscalculated HOT 6
- enable lint for lint validations below HOT 1
- OpenSSF badge
- tape as dependency coverage HOT 3
- Tape client error : ENHANCE_YOUR_CALM and debug data equal to ASCII "too_many_pings" HOT 3
- panic: Received nil message, but expect a valid block instead. HOT 2
- Support for complex (struct) arguments HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tape.