Unable to update ServerTLSCert and ClientTLSCert for Orderers #4874
Unanswered
gabrieledm
asked this question in
Q&A
Replies: 1 comment
-
Please see the Certificate Management guide: The process of recovering from expired certs is much more complicated so it is always best to renew before expiry. Additionally, if you re-use the private key you don't even need a channel update which makes it much easier. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a Hyperledger Fabric Network composed of 5 Orderer a 4 Peers.
There is only one channel.
The components are deployed on a
Kubernetes
cluster using anNFS
as persistence layer.The certificates that identifies the Orderer and Peers identities are managed by
CertManager
installed onKubernets
cluster using Helm.The certificates has been expired and has been renewd by
CertManager
automatically but after this updates the network is not working.I've found on the internet that the network must be updated submitting a channel update containing the new certificates for the orderers.
I tried to do the update following these steps
jq
, ofThese steps are executed sequentially for each Orderer and run correctly until the
3rd
Orderer for which I receive this errorError: got unexpected status: BAD_REQUEST -- error applying config update to existing channel 'consip-channel': consensus metadata update for channel config update is invalid: 3 out of 5 nodes are alive, configuration will result in quorum loss
From this point the network become unusable because the Orderers are no longer able to communicate with each other
Attached there is the renew-cert-channel-update.zip script I used to perfom the described actions
Beta Was this translation helpful? Give feedback.
All reactions