Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aselapathirage/secure-backend
https://github.com/aselapathirage/secure-backend
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/aselapathirage/secure-backend
- Owner: AselaPathirage
- Created: 2024-08-15T09:26:12.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-19T04:18:49.000Z (5 months ago)
- Last Synced: 2024-08-19T05:31:28.345Z (5 months ago)
- Language: JavaScript
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Getting Started
1. `npm install`
2. `npm start`To generate a certificate
Get the private key and cert in the same command in PKCS8 format
`openssl req -x509 -sha256 -nodes -days 3650 -newkey rsa:2048 \
-subj "/C=US/ST=CA/L=Mountain View/O=/OU=/CN=localhost" \
-extensions SAN \
-config <(cat /etc/ssl/openssl.cnf \
<(printf "\n[SAN]\nsubjectAltName=DNS:localhost")) \
-keyout tls.key \
-out tls.crt`