serve-handler
serve-handler copied to clipboard
How to test local HTTPS?
Hi folks,
I would like to test my local build. I have already a local test CA and private key and certificate. I use mkcert for that.
Are there any options for this?
Kind regards, Remzi
type "serve -h" to see the ssl options
From "serve -h":
--ssl-cert Optional path to an SSL/TLS certificate to serve with HTTPS
Supported formats: PEM (default) and PKCS12 (PFX)
--ssl-key Optional path to the SSL/TLS certificate's private key
Applicable only for PEM certificates
--ssl-pass Optional path to the SSL/TLS certificate's passphrase