I'm following the AWS supply chain workshop. After creating the network, peer, connecting to the peer using SSH and doing the initial setup (docker, go, fabric-ca-client and copying the managedblockchain-tls-chain.pem
certificate fom S3), I'm unable to run the command fabric-ca-client enroll
.
When I run: fabric-ca-client enroll -u https://$MEMBER_ADMIN\:$PASSWORD@$CA_ENDPOINT --tls.certfiles ~/managedblockchain-tls-chain.pem -M admin-msp -H $HOME
I get the following output:
2022/07/27 13:39:20 [INFO] TLS Enabled
2022/07/27 13:39:20 [INFO] generating key: &{A:ecdsa S:256}
2022/07/27 13:39:20 [INFO] encoded CSR
Error: Response from server: Error Code: 20 - Authentication failure
After 10 unsuccessful attempts getting the previous output, I'm now getting this output:
2022/07/27 13:39:20 [INFO] TLS Enabled
2022/07/27 13:39:20 [INFO] generating key: &{A:ecdsa S:256}
2022/07/27 13:39:20 [INFO] encoded CSR
Error: Response from server: Error Code: 73 - Incorrect password entered 10 times, max incorrect password limit of 10 reached
Am I missing something? Is it possible that the generated certificate is somehow invalid? The password in the connection string is URL encoded, ie the $
symbol is encoded to %24
; could this be the reason why I can't authenticate? Is there a way to connect to Fabric-CA Server to get its logs?