Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/debug-certificate-manager > ICertificateGenerationOptions

ICertificateGenerationOptions interface

Options to use if needing to generate a new certificate

Signature:

export interface ICertificateGenerationOptions 

Properties

Property

Modifiers

Type

Description

skipCertificateTrust?

boolean

(Optional) Skip trusting a certificate. Defaults to false.

subjectAltNames?

ReadonlyArray<string>

(Optional) The DNS Subject names to issue the certificate for. Defaults to ['localhost'].

subjectIPAddresses?

ReadonlyArray<string>

(Optional) The IP Address Subject names to issue the certificate for. Defaults to ['127.0.0.1'].

validityInDays?

number

(Optional) How many days the certificate should be valid for.