cleanup selfsigned on creation
This commit is contained in:
parent
8a65299ad1
commit
e518c6defd
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue