-
-
Save EinPinsel/88b1566e76f372202e15f83316d25aa3 to your computer and use it in GitHub Desktop.
Create OPenVPN cert
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
# become root | |
sudo su - | |
# change dir to easy rsa | |
cd /etc/openvpn/easy-rsa | |
# source the environment vars | |
source ./vars | |
# create a new cert | |
./build-key <clientname> # create without password | |
./build-key-pass <clientname> # create a key with password | |
# either option: If asked for input, just enter; accepting the defaults | |
# sign the certificate: y | |
# 1 out of 1 certificate requests certified, commit? [y/n] | |
# after completion, cat your <clientname>.crt and .key and enter these into your .ovpn file at the corresponding <cert> and <key> serctions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment