diff options
Diffstat (limited to 'catlfish-benchmark/createcert.sh')
-rwxr-xr-x | catlfish-benchmark/createcert.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/catlfish-benchmark/createcert.sh b/catlfish-benchmark/createcert.sh new file mode 100755 index 0000000..3dbe81f --- /dev/null +++ b/catlfish-benchmark/createcert.sh @@ -0,0 +1,7 @@ +mkdir httpscert +openssl req -new -newkey rsa:2048 -keyout httpscert/httpskey.pem -out httpsca/httpscert.csr -nodes -subj '/countryName=SE/stateOrProvinceName=Stockholm/organizationName=Test/CN=localhost' +( + cd httpsca + openssl ca -in httpscert.csr -keyfile key.pem -out httpscert.pem -batch +) +cp httpsca/httpscert.pem httpscert/ |