summaryrefslogtreecommitdiff
path: root/catlfish-benchmark/createcert.sh
blob: 3dbe81f3d8a0bc2a2249dcea5b1b13894cc0088c (plain)
1
2
3
4
5
6
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/