Skip to content

Commit

Permalink
chore: make hostCertCN optional
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Dec 1, 2024
1 parent a334711 commit 3c1cb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c1cb49

Please sign in to comment.