Skip to content

Commit

Permalink
Merge pull request #604 from aklenik/fabric-gateway-mtls-fix
Browse files Browse the repository at this point in the history
Fix mutual TLS for Fabric gateway mode
  • Loading branch information
aklenik authored Oct 3, 2019
2 parents 6f16646 + 8d29c32 commit 2f0646d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ zookeeper.out
.idea/
**/node_modules/
**/log/
**/*.log

# Ignore any composer logs
composer-logs/
Expand Down
2 changes: 1 addition & 1 deletion packages/caliper-fabric/lib/fabric.js
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,7 @@ class Fabric extends BlockchainInterface {

// Optional on mutual auth
if (this.networkUtil.isMutualTlsEnabled()) {
opts.clientTlsIdentity = 'tlsId';
opts.clientTlsIdentity = userId;
}

// Retrieve gateway using ccp and options
Expand Down

0 comments on commit 2f0646d

Please sign in to comment.