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

CertificateManager class

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


export declare class CertificateManager 


Constructor Modifiers Description
(constructor)()   Constructs a new instance of the CertificateManager class


Method Modifiers Description
ensureCertificateAsync(canGenerateNewCertificate, terminal)   Get a dev certificate from the store, or optionally, generate a new one and trust it if one doesn’t exist in the store.
untrustCertificateAsync(terminal)   Attempt to locate a previously generated debug certificate and untrust it.