Skip to main content
Module

std/http/mod.ts>ServeTlsInit

The Deno Standard Library
Latest
interface ServeTlsInit
implements ServeInit
Deprecated
Deprecated

This will be removed in 1.0.0. Use Deno.ServeTlsOptions instead.

import { type ServeTlsInit } from "https://deno.land/std@0.224.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