New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

make-cert

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

make-cert

Quickly generate a self-signed cert to start an HTTPS server

latest
Source
npmnpm
Version
1.2.1
Version published
Maintainers
1
Created
Source

make-cert

npm CI Status dependencies Status devDependencies Status

Quickly generate a self-signed cert to start an HTTPS server

Usage

Install make-cert by running:

yarn add make-cert

To generate a key.pem with the private key and cert.pem with the certificate, both in PEM format, run:

yarn make-cert localhost

To use this in your own JavaScript code:

import makeCert from 'make-cert'

const {key, cert} = makeCert('localhost')
console.log(key)
console.log(cert)

Keywords

SSL

FAQs

Package last updated on 11 Jul 2021

Did you know?

Socket

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.

Install

Related posts