gbolo / dockerfiles

various docker images that I maintain (when I can)
21 stars 4 forks source link

channel creation then failed when i run “make all” in ‘compose/files/tls’, i can't fix it #2

Open b1u3h4t opened 6 years ago

b1u3h4t commented 6 years ago

``=======================================================================

CREATING CHANNEL: testchannel

2018-03-12 07:35:29.408 UTC [main] main -> ERRO 001 Cannot run peer because error when setting up MSP from directory /data/adminOrg1MSP: err Could not load a valid signer certificate from directory /data/adminOrg1MSP/signcerts, err %!s() !!!!!!!!!!!!!!! Channel creation failed !!!!!!!!!!!!!!!!

tree certs/ certs/ ├── bundle_ca.pem ├── ca_int.csr ├── ca_int-key.pem ├── ca_int.pem ├── ca_root.csr ├── ca_root-key.pem ├── ca_root.pem ├── client_generic-client-chain.pem ├── client_generic-client.csr ├── client_generic-client-key.pem ├── client_generic-client-key.pk8.pem ├── client_generic-client.pem ├── server_wild_fabric.linuxctl.com-chain.pem ├── server_wild_fabric.linuxctl.com.csr ├── server_wild_fabric.linuxctl.com-key.pem ├── server_wild_fabric.linuxctl.com-key.pk8.pem └── server_wild_fabric.linuxctl.com.pem

my os is centos

bh4rtp commented 5 years ago

I found this issue too. It should be caused by wrong copy operation of admin cert. The cert is located in /data/adminOrg1MSP/admincerts/signcerts/cert.pem. I cannot fix it.