Skip to main content

server_name

Function server_name 

Source
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:

  1. --tls_domain, when given.
  2. 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.