Expand description
TLS certificate generation for pwr-server.
Generates self-signed ECDSA P-256 certificates for TLS 1.3. The certificate fingerprint is printed so the user can pin it in the client config for MITM protection.
Functionsยง
- generate_
certificate - Generate a self-signed TLS certificate and private key.
- init_
server - Generate a fresh server configuration with TLS certificates and PSK.
- save_
certificate - Write certificate and key to files with appropriate permissions.