Certificates
You can assign a certificate and a key for said certificate with f.ServerWithCertificateAndKey()
.
f.ServerWithCertificateAndKey(srv, "cert.pem", "key.pem")
Note
You can create a self-signed certificate for local development with make certificate
, or interactively fill in the details of your certificate with make certificate-interactive
.