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
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Hyperledger Fabric Network composed of 5 Orderer a 4 Peers.
There is only one channel.
The components are deployed on a
Kubernetescluster using anNFSas persistence layer.The certificates that identifies the Orderer and Peers identities are managed by
CertManagerinstalled onKubernetscluster using Helm.The certificates has been expired and has been renewd by
CertManagerautomatically 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
3rdOrderer 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 lossFrom 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