Skip to content

Commit d1b622a

Browse files
authored
Merge pull request #266 from C0rWin/fixTls
Fix TLS setup for chaincode server
2 parents d1621af + 9abf17a commit d1b622a

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)