From e9d0bafc1f1e862c6d02075f3764435f7aeb5246 Mon Sep 17 00:00:00 2001 From: jjdiaz <jjdiaz@cttc.es> Date: Mon, 16 Sep 2024 12:54:33 +0200 Subject: [PATCH] Code Cleanup --- src/dlt/gateway/README.md | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/dlt/gateway/README.md b/src/dlt/gateway/README.md index 0ea41cd2f..ae05ed6c6 100644 --- a/src/dlt/gateway/README.md +++ b/src/dlt/gateway/README.md @@ -10,5 +10,18 @@ The chaincode is written in Go, providing a reference for the operations that ar * NodeJS * Docker -* K8s +* Kubernetes (K8s) + +Sign and TLS certificates, and private key of the MSP user from the Hyperledger Fabric deployment must be copied to the [/keys](./keys/) directory inside this repository. + Example: + + ```bash + cp ~/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/tls/ca.crt src/dlt/gateway/keys/ + + cp ~/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/signcerts/User1@org1.example.com-cert.pem src/dlt/gateway/keys/cert.pem + + cp ~/fabric-samples/test-network/organizations/peerOrganizations/org1.example.com/users/User1@org1.example.com/msp/keystore/priv_sk src/dlt/gateway/keys/ + ``` + +These files are essential for establishing the identity and secure connection to the blockchain. Make sure you replace the paths with your actual file locations from your Hyperledger Fabric deployment. -- GitLab