Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

std/http/mod.ts>ServeTlsInit

The Deno Standard Library
Go to Latest
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.223.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