You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CLI was not working properly with mutual TLS
enabled. In order to add support for client
certficates, the code needed to be partially
refactored by adding peer and orderer client
instances. This code should be useful in the
future as part of any additional CLI rework.
Change-Id: Ifa19c26bf3aff887c5279a8f721e0425ec49732e
Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
flags.StringVarP(&orderingEndpoint, "orderer", "o", "", "Ordering service endpoint")
87
-
flags.BoolVarP(&tls, "tls", "", false, "Use TLS when communicating with the orderer endpoint")
88
-
flags.StringVarP(&caFile, "cafile", "", "", "Path to file containing PEM-encoded trusted certificate(s) for the ordering endpoint")
89
-
flags.StringVarP(&ordererTLSHostnameOverride, "ordererTLSHostnameOverride", "", "", "The hostname override to use when validating the TLS connection to the orderer.")
0 commit comments