ssl cert
This commit is contained in:
parent
36b144e604
commit
7abcb40a35
9
nodejs/express.md
Normal file
9
nodejs/express.md
Normal 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
|
||||
```
|
Loading…
Reference in New Issue
Block a user