9 lines
265 B
Markdown
9 lines
265 B
Markdown
|
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
|
||
|
```
|