Tutorials OpenVPN : How to Set Up CA Directory and Apply CA Variable Ubuntu
My contribution about Tutorials OpenVPN : How to Set Up CA Directory and Apply CA Variable.
Github with Repository : https://github.com/OpenVPN/openvpn
Category : Tutorials
What Will We Learn?
OpenVPN is an open-source software program application that implements digital exclusive network (VPN) techniques for creating safe point-to-point or site-to-site links in transmitted or connected configurations as well as remote accessibility facilities. It makes use of a custom-made security procedure that makes use of SSL/TLS for vital exchange. It can passing through network address translators (NATs) and firewall softwares.
OpenVPN makes use of the OpenSSL collection to supply encryption of both the information and control channels. It lets OpenSSL do all the encryption as well as authentication work, enabling OpenVPN to make use of all the ciphers available in the OpenSSL bundle. It can likewise use the HMAC packet verification attribute to include an added layer of safety and security to the link
So, on this tutorials we will learn about :
- You will learn about Set up CA Directory
- You will learn about Apply CA Variable
Requirements
- Install OpenVPN Latest Version
- Ubuntu Operating system
Difficulty
- Bacis
Tutorial Contents
- SET UP CA Directory
Please copy easy-rsa template directory to home directory like the following command for make-cadir
- Then Move it to Newest directory to start CA Configuration like this :
$ cd ~/openvpn-ca - Set up is done. Then you will configure or apply CA Variables, but how to do that, please this commands :
To configure the CA Variables we need to edit vars file. Open vars first and you will see the text editor :
$ nano vars
You will find some variables inside vars files that can be edited to create your certificates.
Scroll to bottom and find the setting that make the default filed for new certificate. Like this :
~/openvpn-ca/vars
. . .
export KEY_COUNTRY="US"
export KEY_PROVINCE="CA"
export KEY_CITY="SanFrancisco"
export KEY_ORG="Fort-Funston"
export KEY_EMAIL="[email protected]"
export KEY_OU="MyOrganizationalUnit"
. . .
Surely, like the following picture :
- Then EDIT Value depend on you, you must fill all value, do not make it blank. This must be like this :
~/openvpn-ca/vars
. . .
export KEY_COUNTRY="ID"
export KEY_PROVINCE="ACH"
export KEY_CITY="Santana"
export KEY_ORG="DigitalOcean"
export KEY_EMAIL="[email protected]"
export KEY_OU="Community"
. . .
Or you can see this screenshot :
- The final steps of this tutorials is you must edit KEY_NAME . To make this tutorials understand easier we will called it CONNECTION.
If it called CONNECTION the KEY _NAME must be like this :
- Now, CA Directory and CA Variables configuration is finished then Save and CLOSE.
Curriculum
No related post can be listed yet.
Thank you for reading
Posted on Utopian.io - Rewarding Open Source Contributors
Your contribution cannot be approved because it does not follow the Utopian Rules.
You can contact us on Discord.
[utopian-moderator]