Expand description
The certificate files and the rustls configurations built from them.
- Servers (the master’s gRPC, a worker’s log endpoint) present their certificate and require a client certificate signed by the CA.
- The webserver’s UI port (
[webserver] ui_port) requires, beyond that, a client certificate naming[tls] ui_name: onlyschedr uimay pass users’ names on there (decision 36); any other certificate fails the handshake. - Clients present their certificate. A worker checks that the master’s certificate
names the host of
[worker] master_url; the webserver checks that a worker’s names[tls] worker_name, whatever address it reached the worker at (workers are reached by pod IP or pod DNS name, which a shared certificate can’t list).
Only TLS 1.3, with the aws-lc-rs provider.
Structs§
- Configs
- The rustls configurations of a role, built from one set of files.
- Contents
- The files’ bytes, as read (compared to notice a change).
- TlsFiles
- Where a role’s certificate material is (
[tls] ca,cert,key).
Enums§
- TlsError
- Why the material can’t be used.
Constants§
- ALPN_H2
- The ALPN protocol of gRPC.
- ALPN_
HTTP1 - The ALPN protocol of the log endpoint.