key and cert.
key and cert fields expect the contents of your TLS key and certificate, not a path to it. Each can be a string, BunFile, TypedArray, or Buffer.
Passphrase
If your private key is encrypted with a passphrase, provide a value forpassphrase to decrypt it.
CA Certificates
Passca to override the trusted CA certificates. By default, the server trusts the list of well-known CAs curated by Mozilla; setting ca replaces that list.
Diffie-Hellman
To override Diffie-Hellman parameters:Server name indication (SNI)
To configure the server name indication (SNI) for the server, set theserverName field in the tls object.
tls, each with a serverName field.