Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/debug-certificate-manager

debug-certificate-manager package

This package is used to manage debug certificates for development servers.

This package provides the following utilities:

  • CertificateStore to handle retrieving and saving a debug certificate.

  • CertificateManager is a utility class containing the following public methods:

  • ensureCertificate will find or optionally create a debug certificate and trust it.

  • untrustCertificate will untrust a debug certificate.

Classes

Class

Description

CertificateManager

A utility class to handle generating, trusting, and untrustring a debug certificate. Contains two public methods to ensureCertificate and untrustCertificate.

CertificateStore

Store to retrieve and save debug certificate data.

Interfaces

Interface

Description

ICertificate

The interface for a debug certificate instance

ICertificateGenerationOptions

Options to use if needing to generate a new certificate

ICertificateManagerOptions

Options for configuring the CertificateManager.

ICertificateStoreOptions

Options for configuring paths and filenames used by the CertificateStore.

ICertificateValidationResult

Information about certificate validation results

Variables

Variable

Description

DEFAULT_CERTIFICATE_SUBJECT_NAMES

The set of names the certificate should be generated for, by default.