Using fabric ca, the organization registered and enrolled client user. The generated certificates are kept in the directory. Unfortunately if the generated certificates are deleted . How to recover those client user certificate?
Can anyone suggest?
Using fabric ca, the organization registered and enrolled client user. The generated certificates are kept in the directory. Unfortunately if the generated certificates are deleted . How to recover those client user certificate?
Can anyone suggest?
1. Admin client
In the case of admin client id and pw, they are set when uploaded to fabric-ca. In this case, you can make a new request to fabric-ca through the
enroll
command.2. User client
In this situation, it cannot be solved through the functions provided by the fabric, but must be solved through some kind of trick.
Give up and create a new user ID. - Existing identities cannot be recovered.
Fabric-ca is initialized and newly registered. -
How to clean the existing registered user client of the database and register a same one - The user client id is the same, but the key and cert are newly created.
This is a method of artificially modifying fabric-ca's secret validation binary code, so that it unconditionally operates as true. after modifying the code, build binary or docker to operate
reenroll
normally, issue a new cert and key. and then return to the original binary.