anax
anax copied to clipboard
CSS should use cert when contacting exchange if https
Now that the exchange can be started to listen only on an https port, the CSS should support contacting the exchange that way. If the HZN_EXCHANGE_URL
value passed to the CSS mgmt hub container starts withhttps:
then this function should add the cert passed in the ServerCertificate
config value to the http client, like this code does.