Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/aselapathirage/secure-backend


https://github.com/aselapathirage/secure-backend

Last synced: 8 days ago
JSON representation

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`