Closed shutupflanders closed 7 months ago
When running the command
kubectl hlf ca create --storage-class=gp2 --capacity=2Gi --name=org1-ca --enroll-id=enroll --enroll-pw=enrollpw --namespace=hyperledger --hosts org1-ca.hlf.<redacted>
I'm unable to contact the /cainfo endpoint of the generated deployment, it results in
/cainfo
curl -v -k -L https://org1-ca.hlf.<<redacted>>/cainfo * Trying <<redacted_public_ip>>... * TCP_NODELAY set * Connected to org1-ca.hlf.<<redacted>> (<<redacted_public_ip>>) port 443 (#0) * ALPN, offering h2 * ALPN, offering http/1.1 * successfully set certificate verify locations: * CAfile: /etc/ssl/certs/ca-certificates.crt CApath: /etc/ssl/certs * TLSv1.3 (OUT), TLS handshake, Client hello (1): * error:1408F10B:SSL routines:ssl3_get_record:wrong version number * stopped the pause stream! * Closing connection 0 curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
This also prevents the ca register command from contacting the server.
ca register
The /cainfo endpoint should return a valid response and allow the ca register command to register a user.
The Fix for the following is to modify the service port name to the proper protocol:
I.e: in services -> org1-ca becomes
org1-ca
Once saved, the service is contactable and the above error is resolved.
v1326.6-eks-a5565ad
Hi, there is any progress in this issue?
What happened?
When running the command
I'm unable to contact the
/cainfo
endpoint of the generated deployment, it results inThis also prevents the
ca register
command from contacting the server.What did you expect to happen?
The
/cainfo
endpoint should return a valid response and allow theca register
command to register a user.How can we reproduce it (as minimally and precisely as possible)?
ca register
commandAnything else we need to know?
The Fix for the following is to modify the service port name to the proper protocol:
I.e: in services ->
org1-ca
becomesOnce saved, the service is contactable and the above error is resolved.
Kubernetes version
v1326.6-eks-a5565ad