Skip to content
Snippets Groups Projects
Select Git revision
  • c60d859ffd596b66d6d47416f6d10f9506c89676
  • workshop-poc default protected
  • streamchain-paper
  • fabric-release-1.4
4 results

streamchain

user avatar
Jason Yellick authored
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: default avatarJason Yellick <jyellick@us.ibm.com>
c60d859f
History
Name Last commit Last update