Tools, FAQ, Tutorials:
"fabric-ca-client certificate list" - List Certificates
How to List Certificates with the "fabric-ca-client certificate list" command?
✍: FYIcenter.com
 If you want get a list of certificates from the Fabric CA Server, 
you can run the "fabric-ca-client certificate list" command:
If you want get a list of certificates from the Fabric CA Server, 
you can run the "fabric-ca-client certificate list" command:
$ export FABRIC_CA_CLIENT_HOME=~/fabric-ca/native-client/admin
$ ~/go/bin/fabric-ca-client certificate list
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 39195873... (0x44a809a3...)
    Signature Algorithm: ECDSA-SHA256
        Issuer: C=US,ST=North Carolina,O=Hyperledger,OU=Fabric,CN=fabric-ca-server
        Subject: C=US,ST=North Carolina,O=Hyperledger,OU=client,CN=admin
        Subject Public Key Info:
            Public Key Algorithm: ECDSA
                Public-Key: (256 bit)
                X:
                    99:77:f2:58:6c:16:99:26:4c:74:19:71:d3:0e:81:
                    8a:d5:dc:35:0a:a2:9a:90:78:49:f6:69:08:31:ad:
                    ed:91
                Y:
                    60:84:20:e2:c3:44:a6:2c:62:c7:ba:1d:d0:a6:c8:
                    79:41:bb:bd:02:9f:9b:7f:93:ee:14:ed:33:66:78:
                    69:d6
                Curve: P-256
...
As you can see, this certificate is for "admin" and signed by the Root CA, fabric-ca-server.
On the Fabric CA Server side, you see this log message:
[INFO] 127.0.0.1:45140 GET /certificates?notexpired=false¬revoked=false 200 0 "OK"
⇒ "fabric-ca-client identity list" - List Identities
2019-09-27, ∼1155🔥, 0💬
Popular Posts:
How To Read Data from Keyboard (Standard Input) in PHP? If you want to read data from the standard i...
What are the differences of Differences of evaluateTransaction() and submitTransaction() of the fabr...
Where can I download the EPUB 2.0 sample book "The Problems of Philosophy" by Lewis Theme? You can f...
How To Access a Global Variable inside a Function? in PHP? By default, global variables are not acce...
Where to find tutorials on Microsoft Azure services? Here is a large collection of tutorials to answ...