Skip to main content
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
Deprecated
Deprecated

(will be removed after 1.0.0) Use Deno.ServeTlsOptions instead.

import { type ServeTlsInit } from "https://deno.land/std@0.218.0/http/mod.ts";

Initialization parameters for serveTls.

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