Skip to main contentModule tls
Source - TlsOptions
- The TLS settings of a worker or CLI, as given on the command line.
- NameSource π
- Track what the SAN is authenticated against (based on user parameters).
- CERTIFICATE_LABEL π
- PEM label of an X.509 certificate (other blocks, e.g. private keys, are ignored).
- certificates π
- Parse every PEM certificate in
pem, in file order. - client_config π
- Build the client-side TLS configuration from a file of trust anchors.
- default_key_path π
- The private key path implied by a certificate path (same name,
.key extension). - describe_served_chain π
- Parse Orchestrator certificate and warn for possibly malformed certificates.
- host_of π
- Get the hostname/address part of an
address:port value - pinned_self_signed_name π
- Get the name pinned in self-signed certificates.
- server_identity
- Load the orchestratorβs TLS identity (certificate + private key).
- server_name π
- Determine the name to authenticate the orchestrator as.
- subject_alternative_names π
- Get the SAN values (hostnames and IP addresses) a certificate is valid for.
- to_ip π
- Convert the raw bytes of an IP address SAN into an
IpAddr.