forecast_api/create_certs.sh

4 lines
153 B
Bash
Raw Normal View History

2020-02-05 23:41:57 -05:00
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