This commit is contained in:
Trowbridge 2019-03-18 17:26:05 -04:00
parent 36b144e604
commit 7abcb40a35
1 changed files with 9 additions and 0 deletions

9
nodejs/express.md Normal file
View File

@ -0,0 +1,9 @@
create self-signed cert
https://docs.nodejitsu.com/articles/HTTP/servers/how-to-create-a-HTTPS-server/
```
openssl genrsa -out key.pem
openssl req -new -key key.pem -out csr.pem
openssl x509 -req -days 9999 -in csr.pem -signkey key.pem -out cert.pem
rm csr.pem
```