Re: How to get peer x509 certifi ate in chaincode? #fabric #fabric-chaincode
Kevin X
Thanks for your response. This will get client's certificate (the entity calling chaincode), not the peer's cert. There isn a method to get peer msp id (ChaincodeStub.getMspID() - returns string), but l do not see a method to get the cert. Is there a way to get the cert from msp id of peer or is there any other way?
On Mon, Jan 25, 2021, 2:14 AM Artem Barger1 <BARTEM@...> wrote:
|
|