aboutsummaryrefslogtreecommitdiff
path: root/test/init.sh
blob: 915db762387376ddcb460906805c85ea4394b7a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
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"