[TASK] Create tool to help generate snakeoil ssl certificates.

This commit is contained in:
Jan Philipp Timme 2013-09-13 18:50:47 +02:00
parent 1c5ddd7e82
commit 3a71053b69
1 changed files with 4 additions and 0 deletions

4
snakeoil/generateSnakeoil.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
openssl genrsa -out privkey.pem
openssl req -new -key privkey.pem -out cert.csr
openssl req -new -x509 -key privkey.pem -out cert.pem -days 1095