Documentation
¶
Overview ¶
Package tls provides self-signed TLS certificate generation and loading for DevClaw's HTTPS support. Uses Go's crypto/x509 stdlib (no OpenSSL dependency).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertExpiry ¶
CertExpiry returns the NotAfter time of the certificate at certPath.
func CertFingerprint ¶
CertFingerprint returns the SHA-256 fingerprint of the certificate at certPath as a lowercase hex string with colon separators (e.g. "ab:cd:ef:...").
func EnsureSelfSignedCert ¶
EnsureSelfSignedCert checks if cert+key exist at the given paths. If not, generates new self-signed certificates using ECDSA P-256. Certificate validity: 10 years. File permissions: 0600.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.