RoadmapShopEvents
Skip to main content

Home > @rushstack/debug-certificate-manager

debug-certificate-manager package

This package is used to manage debug certificates for development servers. It is used by [@ microsoft/gulp-core-build-serve](https://www.npmjs.com/package/ @ microsoft/gulp-core-build-serve) to generate and trust a certificate when HTTPS is turned on.

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

ClassDescription
CertificateManagerA utility class to handle generating, trusting, and untrustring a debug certificate. Contains two public methods to ensureCertificate and untrustCertificate.
CertificateStoreStore to retrieve and save debug certificate data.

Interfaces

InterfaceDescription
ICertificateThe interface for a debug certificate instance