cleanup selfsigned on creation

This commit is contained in:
deflax 2021-10-10 15:51:28 +00:00
parent 8a65299ad1
commit e518c6defd

View file

@ -6,3 +6,8 @@ openssl genrsa -out default.key 2048
openssl req -new -key default.key -out default.csr openssl req -new -key default.key -out default.csr
openssl x509 -req -days 3650 -in default.csr -signkey default.key -out default.crt openssl x509 -req -days 3650 -in default.csr -signkey default.key -out default.crt
cat default.key default.crt >> default.pem cat default.key default.crt >> default.pem
#cleanup
rm default.key
rm default.csr
rm default.crt