Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5319] peer cli orderer TLS hostname override
The peer CLI supports TLS communication with the orderer. It does this by specifying a -caCert command line flag which specifies the orderer's TLS CA cert file. However, for certainly deployments such as k8s, it is not always possible to have the hostname on the TLS cert correctly match the hostname used to connect to the orderer. The peer config supports setting the hostname via peer.tls.rootcert.file and peer.tls.serverhostoverride config variables. However, because the peer channel commands initialize TLS without the use of these variables, this CR does not attempt to re-use this logic, and instead adds a new flag. The new flag has the name -ordererTLSHostnameOverride Change-Id: I9cc5ac59803daf633de7e20813905aca53b99a37 Signed-off-by: Jason Yellick <[email protected]>
- Loading branch information