This package can be used to manage certificates for development server using https://localhost.
npm install office-addin-dev-certs
Upon installation a development CA certicate and localhost key and
certificate will be generated inside
The certificate is valid for 30 days by default.
Creates an SSL certificate for "localhost" signed by a developer CA certificate and installs the developer CA certificate so that the certificates are trusted. If the certificates were installed but are no longer valid, they will be replaced with valid certificates.
office addin-dev-certs install [options]
Install the CA certificate for all users. You must be an Administrator.
Specifies the number of days until the CA certificate expires. Default: 30 days.
Verify the certificate.
office addin-dev-certs verify
Uninstall the certificate.
office addin-dev-certs uninstall [options]
Uninstall the CA certificate for all users. You must be an Administrator.
var https =var devCerts = ;var options = devCerts;var server = httpsserver