Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@rushstack/debug-certificate-manager
Advanced tools
Cross-platform functionality to create debug ssl certificates.
npm install @rushstack/debug-certificate-manager --save-dev
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
.
Retrive certificate data from the store:
const certificateStore: CertificateStore = new CertificateStore();
return {
pemCertificate: certificateStore.certificateData,
pemKey: certificateStore.keyData
};
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.
export interface ICertificate {
pemCertificate: string | undefined;
pemKey: string | undefined;
}
untrustCertificate
Attempts to locate a previously generated debug certificate and untrust it. Returns a boolean
value to denote success.
@rushstack/debug-certificate-manager is part of the Rush Stack family of projects.
FAQs
Cross-platform functionality to create debug ssl certificates.
The npm package @rushstack/debug-certificate-manager receives a total of 13,683 weekly downloads. As such, @rushstack/debug-certificate-manager popularity was classified as popular.
We found that @rushstack/debug-certificate-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.