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.


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.


Interface Description
ICertificate The interface for a debug certificate instance