Welcome to the Linux Foundation Forum!

Revoke Certificate

Hello,

I'm trying to revoke the certificate using this command: fabric-ca-client revoke -e peerSam -r "keycompromise"
But the result is not what I expected:
2020/01/14 15:28:48 [INFO] Configuration file location: /etc/hyperledger/fabric-ca-server/fabric-ca-client-config.yaml
2020/01/14 15:28:48 [INFO] Sucessfully revoked certificates: []
The CA server logs:
2020/01/14 15:28:48 [WARNING] No certificates were revoked for 'peerSam' but the ID was disabled
2020/01/14 15:28:48 [INFO] 127.0.0.1:39116 POST /revoke 200 0 "OK"

Any idea why I'm getting this warning?

Thanks

Comments

  • @antonimassomola said:
    Hello,

    I'm trying to revoke the certificate using this command: fabric-ca-client revoke -e peerSam -r "keycompromise"
    But the result is not what I expected:
    2020/01/14 15:28:48 [INFO] Configuration file location: /etc/hyperledger/fabric-ca-server/fabric-ca-client-config.yaml
    2020/01/14 15:28:48 [INFO] Sucessfully revoked certificates: []
    The CA server logs:
    2020/01/14 15:28:48 [WARNING] No certificates were revoked for 'peerSam' but the ID was disabled
    2020/01/14 15:28:48 [INFO] 127.0.0.1:39116 POST /revoke 200 0 "OK"

    Any idea why I'm getting this warning?

    Thanks

    Hi @antonimassomola , can you add some of the previous steps you did before this, so I can try to re-created the issue?

    Did you check afterwards if the peerSam identity was revoked?

    Best regards

Categories

Upcoming Training