fn server_name(
certificates: &[Pem],
address: &str,
tls_domain: Option<&str>,
) -> (String, NameSource)Expand description
Determine the name to authenticate the orchestrator as.
In order:
--tls_domain, when given.- The host part of the orchestrator address, when it is a hostname. a. The Subject Alternative Name of a pinned self-signed certificate. b. The address itself, an IP address verified against an IP SAN.