3 changed files with 11 additions and 9 deletions
@ -1,7 +1,9 @@ |
|||
#!/bin/bash |
|||
|
|||
openssl genrsa -out dtp-webapp.key |
|||
openssl req -new -out dtp-webapp.csr -key dtp-webapp.key -config openssl.cnf |
|||
openssl x509 -req -days 3650 -in dtp-webapp.csr -signkey dtp-webapp.key -out dtp-webapp.crt -extensions v3_req -extfile openssl.cnf |
|||
rm -f *crt *key |
|||
|
|||
rm dtp-webapp.csr |
|||
openssl genrsa -out dtp-base.key |
|||
openssl req -new -out dtp-base.csr -key dtp-base.key -config openssl.cnf |
|||
openssl x509 -req -days 3650 -in dtp-base.csr -signkey dtp-base.key -out dtp-base.crt -extensions v3_req -extfile openssl.cnf |
|||
|
|||
rm dtp-base.csr |
Loading…
Reference in new issue