This library contains utilities for managing debug certificates in a development server environment. It provides functions to generate, self-sign, trust, and untrust .pem certificates for both Windows and Mac OS. It will also generate self-signed certificates on other OS's, but the user must manually trust and untrust them.
CertificateStore
The CertificateStore class provides accessors and mutators for the debug certificate data stored in .rushstack.
Set data using the same property names certificateData: string | undefined and keyData: string | undefined.
ensureCertificate
Get a development certificate from the store, or optionally, generate a new one and trust it if one does not exist in the store. Returns a certificate object following the ICertificate interface.