Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/http/mod.ts>ServeTlsInit

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface ServeTlsInit
implements ServeInit
import { type ServeTlsInit } from "https://deno.land/std@0.190.0/http/mod.ts";

Properties

optional
key: string

Server private key in PEM format

optional
cert: string

Cert chain in PEM format

optional
keyFile: string

The path to the file containing the TLS private key.

optional
certFile: string

The path to the file containing the TLS certificate