script to build self signed certs

This commit is contained in:
Paul Trowbridge 2020-11-27 02:37:35 -05:00
parent 25ad266aef
commit 763307938d

4
certs.sh Executable file
View File

@ -0,0 +1,4 @@
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