Created
April 7, 2022 05:44
-
-
Save Soontao/add25ba424c0a7f2e4fad8aec3092162 to your computer and use it in GitHub Desktop.
Generate HTTPS certificate for proxy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
python3 -m proxy.common.pki gen_private_key --private-key-path https-key.pem | |
python3 -m proxy.common.pki remove_passphrase --private-key-path https-key.pem | |
python3 -m proxy.common.pki gen_public_key --private-key-path https-key.pem --public-key-path https-cert.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sudo setcap CAP_NET_BIND_SERVICE=+eip /usr/bin/socat