From 07a3b0d06d28a05c5c73a8e1ba6e3a1abf9522a6 Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Wed, 11 Nov 2015 11:27:45 +0100 Subject: Make benchmarking work --- catlfish-benchmark/createcert.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 catlfish-benchmark/createcert.sh (limited to 'catlfish-benchmark/createcert.sh') 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/ -- cgit v1.1