I was in charge of solving a problem in Hyperledger which consists of identity expiration, unfortunately i do not have much details about the network itself, i've tried to delete the card using:
composer card delete admin@network
And using import:
composer card import -f admin.card
Both card and bna are the in the same directory, but when doing so if i try to ping the network it shows the following error:
Hyperledger: The current identity, with the name 'admin' and the identifier <ID> has not been registered
I just need to recover this admin user without loosing or changing anything in the network.
Have you check the listed cards on the network?
for identity expiration and can't get access to your network, you can try this.
Set your machine datetime before the card expired. go to your network directory ex. cd ~/example-network. then request new identity:
create new admin card:
import created card:
extract created card (it's actually compressed file), i recommend to extract into new directory called newadmin.
bind new identity:
set back your machine datetime. now you have access to your network again.
cheers.