Documentation
¶
Overview ¶
Package tlsutil generates and manages TLS certificates for Pando's HTTP server. It creates a self-signed certificate stored in the user's data directory so that the PWA installation prompt is available when accessing Pando remotely.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertPaths ¶
CertPaths holds the file paths for the TLS certificate and private key.
func EnsureCert ¶
EnsureCert returns paths to a TLS cert/key pair inside dataDir. If the files already exist they are reused; otherwise a new self-signed ECDSA P-256 certificate is generated and persisted.
Click to show internal directories.
Click to hide internal directories.