# self-signed-https

> Creates a self-signed https server

Latest version **1.0.5** (published 2014-12-29) · MIT license · 0 weekly downloads

## Install

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

## 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.5 |
| Published | 2014-12-29 |
| First published | 2014-12-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 41 |
| Author | Geza Kovacs |
| Maintainers | geza |
| Keywords | self-signed, https |

## Links

- npm: https://www.npmjs.com/package/self-signed-https
- Repository: https://github.com/gkovacs/self-signed-https
- Issues: https://github.com/gkovacs/self-signed-https/issues
- npm.io page: https://npm.io/package/self-signed-https

## Recent versions

- 1.0.5 (latest) — 2014-12-29
- 1.0.4 — 2014-12-23
- 1.0.3 — 2014-12-23
- 1.0.2 — 2014-12-23
- 1.0.1 — 2014-12-23
- 1.0.0 — 2014-12-23

## README

# self-signed-https

Creates a self-signed https server

## Installation

    npm install self-signed-https

## Usage

A basic HTTPS hello world app written in express (paste into app.js):

```javascript
var express = require('express')
var selfSignedHttps = require('self-signed-https')

var app = express()
app.get('/', function(req, res) {
    res.send('hello world')
})

selfSignedHttps(app).listen(443, '0.0.0.0')
```

You will need to run as root as it's listening on port 443 (change to a higher port like 3000 if you want to run without sudo):

    sudo node app.js

Then, you can visit https://localhost in your web browser

## License

MIT

## Credits

Author: [Geza Kovacs](http://github.com/gkovacs)

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