https://github.com/roppa/express-https-example
Just an example of https in express
https://github.com/roppa/express-https-example
Last synced: about 1 year ago
JSON representation
Just an example of https in express
- Host: GitHub
- URL: https://github.com/roppa/express-https-example
- Owner: roppa
- Created: 2020-12-14T10:36:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-14T10:36:32.000Z (over 5 years ago)
- Last Synced: 2025-02-14T18:36:30.414Z (over 1 year ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Node/Express with HTTPS
Creating unsigned local certs
```
openssl genrsa -out localhost.key 2048
```
```
openssl req -new -x509 -key localhost.key -out localhost.cert -days 3650 -subj /CN=localhost
```
Any port under 1000 needs to be run with root privileges `sudo node server.js`.