diff options
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" |