Skip to main content

Module tls

Module tls 

Source

Structs§

WireTlsConfig
TLS configuration for the wire protocol.

Functions§

auto_generate_cert
Generate self-signed cert and write to files in the given directory. Returns the WireTlsConfig pointing to the written files.
build_tls_acceptor
Build a TLS acceptor from cert and key PEM files.
generate_self_signed_cert
Generate a self-signed certificate for development. Returns (cert_pem, key_pem) as strings.