What happens when a private blockchain certificate expires?

github logo ・1 min read

Here's the scenario. Private blockchain - built on the Hyperledger Fabric technology. At start up you created certificate authorities for each of the network participant organisations and certificates for all of the peers etc.

Sometime later..... these certificates start to expire.

Q : What happens then?

Q : How are the certificates managed and renewed?

Q : How does that affect the blockchain?

twitter logo DISCUSS (1)
markdown guide

In case you're interested.... I also asked this question over on the Hyperledger chat platform.

Here's a response from @gatakka that I received. The gist...nothing to worry about.

"it is simple, you can create a new certificate using old one. This is supported by FabricCA. But if you create a new certificates the result will be the same. Certificate management is responsibility of the client. You can renew the certificates before they expire. By default the livetime of a cert is 10 years, but you can change this value. This will not affect the blockchain in any way. The old data signed with certificated that, at current point in time are expired, is still there and can be validated, because this certificates sign the data, they do not encrypt the data. Even after 100 years you will be able to verify that this transaction was signed by valid certificate from valid Org

If you are talking about data encryption, in general case this is done using symmetric cryptography, and there is no expiration there.
So in general, nothing bad will happen. The worst thing to happen is that new requests will be rejected if certificate expire, and you just create a new valid one. "

Classic DEV Post from Sep 17 '19

SOLID PRINCIPLES: To start with Object-oriented programming

Ian bradbury profile image
Once a jobbing developer I have since moved into Management. I continue with a couple of hobby projects to ensure I don't go mad. I focus on iOS/Swift and ROR.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️