diff options
author | jahoti <jahoti@tilde.team> | 2021-08-06 00:00:00 +0000 |
---|---|---|
committer | jahoti <jahoti@tilde.team> | 2021-08-06 00:00:00 +0000 |
commit | 7796e55405e2c27f053122bdec25ffc06df92b4f (patch) | |
tree | c69aaa41174d6a91792515c6b227ab53c5aad3e3 /test/init.sh | |
parent | 24ad876cb3a2159baaa809b3bae5ceaccdd9223b (diff) | |
download | browser-extension-7796e55405e2c27f053122bdec25ffc06df92b4f.tar.gz browser-extension-7796e55405e2c27f053122bdec25ffc06df92b4f.zip |
Add the beginnings of a test suite
Diffstat (limited to 'test/init.sh')
-rw-r--r-- | test/init.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/init.sh b/test/init.sh new file mode 100644 index 0000000..915db76 --- /dev/null +++ b/test/init.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# +# Copyright (c) 2015, inaz2 +# Copyright (C) 2021 jahoti <jahoti@tilde.team> +# Licensing information is collated in the `copyright` file + +# Initialize the root certificate for the tests proxy server +# Make sure this is run in the directory where they will be put! + +openssl genrsa -out ca.key 2048 +openssl genrsa -out cert.key 2048 +openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj "/CN=Hachette Test" |