diff options
author | Magnus Ahltorp <map@kth.se> | 2015-11-11 11:27:45 +0100 |
---|---|---|
committer | Magnus Ahltorp <map@kth.se> | 2015-11-11 11:27:45 +0100 |
commit | 07a3b0d06d28a05c5c73a8e1ba6e3a1abf9522a6 (patch) | |
tree | 322db82486070f8bbdc8f049b5c0ac5ba377eb41 /catlfish-benchmark/createcert.sh | |
parent | 2c7fff406b1aa916aca399fe1e0f12dfaf6acbf2 (diff) |
Make benchmarking workbench
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/ |