Bun
File SystemHTTP & Networking

Configure TLS on an HTTP server

Set the tls key to configure TLS. Both key and cert are required: key is the contents of your private key and cert is the contents of your issued certificate.