Skip to content

Commit

Permalink
[FAB-12988] Fix "key" to "cert"
Browse files Browse the repository at this point in the history
Change-Id: I73153b83780625b1f88abfdd8ca6e697d4fd7188
Signed-off-by: kutenglaoshu <1065239881@qq.com>
(cherry picked from commit b811c3f)
  • Loading branch information
kutenglaoshu authored and yacovm committed Nov 26, 2018
1 parent 14098ec commit 4c634f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/peer/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func GetClientCertificate() (tls.Certificate, error) {
} else {
// use the TLS server keypair
keyPath = viper.GetString("peer.tls.key.file")
certPath = viper.GetString("peer.tls.key.file")
certPath = viper.GetString("peer.tls.cert.file")

if keyPath != "" || certPath != "" {
// need both keyPath and certPath to be set
Expand Down

0 comments on commit 4c634f6

Please sign in to comment.