Skip to main content

SERVER_NAME

Constant SERVER_NAME 

Source
pub const SERVER_NAME: &str = "coqui-peer.invalid";
Expand description

The server name dial and TlsHandshake::client send, and the subjectAltName of generated identities. Pinned trust is by fingerprint, so the name carries no meaning there; Roots check the name, so dial a server they verify with dial_named.