Skip to content

Commit 9abf17a

Browse files
committed
Fix TLS setup for chaincode server
There was a typo which copied certificate file path into the TLS private key file property. This commit fixes the issue. Change-Id: I41e4d3ecbf48a465b7a42fdfecc21cdb90ce8f1f Signed-off-by: Artem Barger <[email protected]>
1 parent d1621af commit 9abf17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ public final ChaincodeServerProperties getChaincodeServerConfig() throws URISynt
539539

540540
// set values on the server properties
541541
chaincodeServerProperties.setTlsEnabled(true);
542-
chaincodeServerProperties.setKeyFile(this.tlsClientCertFile);
542+
chaincodeServerProperties.setKeyFile(this.tlsClientKeyFile);
543543
chaincodeServerProperties.setKeyCertChainFile(this.tlsClientCertFile);
544544
}
545545
return chaincodeServerProperties;

0 commit comments

Comments
 (0)