Closed FROOOOOOO closed 1 year ago
I am also facing the same problem. However, I am tring to deploy it on AWS EKS, but stuck on this same point.
My error message says: x509: certificate signed by unknown authority
2023/02/27 17:05:46 [INFO] TLS Enabled
2023/02/27 17:05:46 [INFO] generating key: &{A:ecdsa S:256}
2023/02/27 17:05:46 [INFO] encoded CSR
Error: POST failure of request: POST https://org0-ca.${DOMAIN}:443/enroll
{"hosts":["${HOSTNAME}"],"certificate_request":"-----BEGIN CERTIFICATE REQUEST-----\nMIIBUTCB+AIBADBgMQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xp\nbmExFDASBgNVBAoTC0h5cGVybGVkZ2VyMQ8wDQYDVQQLEwZGYWJyaWMxETAPBgNV\nBAMTCHJjYWFkbWluMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE4wjzbnOrAQdb\netKh1+bj96+7KkMSwTF8lQkCUhjGRhdhZzd4snBFpdvTT8eJlMtHnfESCckepFpY\nq5k+cyaEXKA2MDQGCSqGSIb3DQEJDjEnMCUwIwYDVR0RBBwwGoIYUGFwYW5zLU1h\nY0Jvb2stUHJvLmxvY2FsMAoGCCqGSM49BAMCA0gAMEUCIQCZ4ZFGZgrnKQy1jWqN\nEhOWjxa6cQ/Pe5YFDHf4koZX1wIgCANHNuIvVaFMCeEMzXnCmeUlAuWp/sv0S/X5\nos+nzmg=\n-----END CERTIFICATE REQUEST-----\n","profile":"","crl_override":"","label":"","NotBefore":"0001-01-01T00:00:00Z","NotAfter":"0001-01-01T00:00:00Z","ReturnPrecert":false,"CAName":""}: Post "https://org0-ca.${DOMAIN}:443/enroll": x509: certificate signed by unknown authority```
Hi @FROOOOOOO
I went ahead to create ExternalDNS records on AWS. That did solved the problem you are having. But then I run into another, which I mentioned above.
Just wondering, if you got this fixed.
Hi @FROOOOOOO
I went ahead to create ExternalDNS records on AWS. That did solved the problem you are having. But then I run into another, which I mentioned above.
Just wondering, if you got this fixed.
Thanks for reply, I have retried the process using Kind cluster and it works fine. Then I switched to hlf operator for deployment.
When installing the kubernetes test network on my local cluster, the network script fails with an error when enrolling bootstrap ECert CA users. I found the command in
network
script causing the error is inscripts/fabric-CAs.sh
:During
network up
:And the full log in
network-debug.log
:Steps to reproduce:
git clone https://github.com/hyperledger/fabric-samples.git && cd fabric-samples/test-network-k8s
./network cluster init
./network up
My cluster status after steps above: