# self-signed-cert

> Quickly get self signed ssl certificates for development

Latest version **1.0.1** (published 2019-02-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install self-signed-cert
pnpm add self-signed-cert
yarn add self-signed-cert
bun add self-signed-cert
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2019-02-25 |
| First published | 2019-02-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Adim |
| Maintainers | adimvicky |
| Keywords | ssl, certificates, https, self-signed, development, secure, server |

## Links

- npm: https://www.npmjs.com/package/self-signed-cert
- Repository: https://github.com/adimvicky/self-signed-cert
- Homepage: https://github.com/adimvicky/self-signed-cert#readme
- Issues: https://github.com/adimvicky/self-signed-cert/issues
- npm.io page: https://npm.io/package/self-signed-cert

## Recent versions

- 1.0.1 (latest) — 2019-02-25
- 1.0.0 — 2019-02-25

## README

# self-signed-cert

**A utility module for getting a self-signed ssl certificate for development of secure servers**

### API 

```javascript

const https = require('https')
const { key, cert } = require('self-signed-cert');

let serverOptions = {
    key,
    cert
}

const server = https.createServer(serverOptions,(req,res) => {
    // Your awesome secure server logic 
});

server.listen(8080,() => {
    console.log('Your awesome server is listening on localhost:8080')
});

```

---
_Source: https://npm.io/package/self-signed-cert · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
