Opal-Estate-Pro/node_modules/browser-sync/certs/gen.sh

7 lines
268 B
Bash
Raw Normal View History

2019-09-13 06:27:52 +02:00
openssl genrsa -des3 -out server.key 2048
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
cp server.key server.key.copy
openssl rsa -in server.key.copy -out server.key
rm server.key.copy