hyperledger-fabrichyperledgerhyperledger-fabric-ca

How to renew the enrollment using Hyperledger Fabric CA


The enrollments of my Hyperledger Fabric peers and orderers will be expired soon. I'm running the Fabric CA server, so I try to renew the enrollments(as far as I know, MSP, not TLS), but I cannot find any document about it.

How can I renew my enrollments? Could you recommend any guide or document about it? Thanks.


Solution

  • To renew the enrollment you can use the fabric-ca-client reenroll command. If you want to reuse the same key which was used during the enrollment then you can use the --csr.keyrequest.reusekey flag.

    More information on the command usage can be found here

    I am also kind of stuck on this thing! This is what i have gathered so far, I would really appreciate it if you could let me know if you get it working.