Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
#!/bin/bash | |
# === INFO === | |
# altnetworking.sh | |
# Description: Run the specified application in a custom networking environment. | |
# Uses cgroups to run process(es) in a network environment of your own choosing (within limits!) | |
VERSION="0.2.0" | |
# Author: John Clark | |
# adapted for cgroups v2 by Anselm Kruis | |
# Requirements: Debian 11 bullseye |
Ignore all that craziness below. These can be set from the cli with the "pritunl" command. | |
The commands below can be used to get/set the values of the cert, key, port and if the :80 -> "app.server_port" redirect is active. | |
# Get current SSL server cert: | |
pritunl get app.server_cert | |
# Get current SSL server key: | |
pritunl get app.server_key |