haketilo / test / init.sh @ 7796e554
1 |
#!/bin/sh
|
---|---|
2 |
#
|
3 |
# Copyright (c) 2015, inaz2
|
4 |
# Copyright (C) 2021 jahoti <jahoti@tilde.team>
|
5 |
# Licensing information is collated in the `copyright` file
|
6 |
|
7 |
# Initialize the root certificate for the tests proxy server
|
8 |
# Make sure this is run in the directory where they will be put!
|
9 |
|
10 |
openssl genrsa -out ca.key 2048
|
11 |
openssl genrsa -out cert.key 2048
|
12 |
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt -subj "/CN=Hachette Test" |