Skip to main content

self_signed

Function self_signed 

Source
pub fn self_signed(
    names: Vec<String>,
) -> Result<(String, String, String), String>
Expand description

A fresh self-signed certificate for a listener that is reached by pin, not by name: (cert_pem, key_pem, fingerprint). The names go in the SAN list for tools that look; the pin ignores them.