Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: POST failure of request: POST https://org1-ca.localho.st/enroll #4

Open
Giorgiovisco opened this issue Oct 9, 2023 · 0 comments

Comments

@Giorgiovisco
Copy link

I am getting this error when registering a user in the CA: kubectl hlf ca register --name=org1-ca --user=peer --secret=peerpw --type=peer
--enroll-id enroll --enroll-secret=enrollpw --mspid Org1MSP
[fabsdk/fab] 2023/10/09 12:00:19 UTC - logbridge.(cLogger).Info -> INFO TLS Enabled
[fabsdk/fab] 2023/10/09 12:00:19 UTC - logbridge.(cLogger).Info -> INFO generating key: &{A:ecdsa S:256}
[fabsdk/fab] 2023/10/09 12:00:19 UTC - logbridge.(*cLogger).Info -> INFO encoded CSR
Error: POST failure of request: POST https://org1-ca.localho.st/enroll
{"hosts":null,"certificate_request":"-----BEGIN CERTIFICATE REQUEST-----\nMIIBEzCBugIBADARMQ8wDQYDVQQDEwZlbnJvbGwwWTATBgcqhkjOPQIBBggqhkjO\nPQMBBwNCAARcccimAzWdDLvsEUcNRk3VASAOn2EwqgD0UK41iMwlMIrcNrGjy7WE\nUekFJDiLVbk3vCT0U08lIcOsdkRisOXMoEcwRQYJKoZIhvcNAQkOMTgwNjA0BgNV\nHREELTArgilnaW9yZ2lvLVZpdm9Cb29rLUFTVVNMYXB0b3AtWDUxMkpQLVg1MTJK\nUDAKBggqhkjOPQQDAgNIADBFAiEAtCZGU9ItSF7XYK4uZKAt0zUBXQuHW2twWJTS\neSbbYj0CIDGhS4heLNROynvyhBHyo59k5IdsOser6BxE4p+nGdn1\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://org1-ca.localho.st/enroll": x509: certificate is valid for ingress.local, not org1-ca.localho.st

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant