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