Below are the different ways
Existing Private key is used to generate Certificate
openssl req -key private.key -new -x509 -days 1460 -out domain.crt
Generate private key and self-signed certifcate together
# ubuntu 18.04 bionic server for Raspberry Pi 3 arm64 | |
sudo apt-get update | |
sudo apt install libcap2-bin jq dirmngr ipset resolvconf openvpn software-properties-common wireguard-dkms wireguard | |
export PPA="ppa:mysteriumnetwork/node" | |
export PPA_URL="http://ppa.launchpad.net/mysteriumnetwork/node/ubuntu" | |
export PPA_FINGER="ECCB6A56B22C536D" |
## This script is used to parse file.csv emited by k6 tool | |
## Run this script using below commands: | |
## bash parse_k6.sh | |
## bash parse_k6.sh ping | |
## bash parse_k6.sh allow | |
## bash parse_k6.sh filter | |
# Scenario | |
# if omitted will process all | |
api="$1" |
sudo touch /etc/modprobe.d/i915.conf | |
sudo echo "options i915 enable_guc=3 enable_psr=0" > /etc/modprobe.d/i915.conf | |
## sudo touch /etc/modprobe.d/i8042.conf | |
## sudo echo "options i8042 direct dumbkbd" > /etc/modprobe.d/i8042.conf | |
sudo update-initramfs -u |