From 7796e55405e2c27f053122bdec25ffc06df92b4f Mon Sep 17 00:00:00 2001 From: jahoti Date: Fri, 6 Aug 2021 00:00:00 +0000 Subject: Add the beginnings of a test suite --- test/init.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/init.sh (limited to 'test/init.sh') 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 +# 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" -- cgit v1.2.3