From 3c1cb4930e9a72c8419c76fc863eff10b39380dc Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 1 Dec 2024 15:54:43 +0100 Subject: [PATCH] chore: make hostCertCN optional --- src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index 0e0d47a..af1c3e7 100644 --- a/src/types.ts +++ b/src/types.ts @@ -52,9 +52,9 @@ export interface SubjectAltName { } export interface CertificateOptions { - hostCertCN: string domain: string rootCA: { certificate: string, privateKey: string } + hostCertCN?: string altNameIPs?: string[] altNameURIs?: string[] validityDays?: number