We will also edit the KEY_NAME value which is just below this section, for demo purpose we will call as vpn_server # which will be placed in the certificate.Įxport KEY_OU="Resource Infomatics Group" # These are the default values for fields Below is the information for demo purpose. Įdit the values to your region and requirement. We will find some settings that sets the default for the new certificates which looks like the below. In this demo we will change some of them. We will find some variables which can be adjusted to determine that how our certificates should be created. We need to edit the values in the ‘vars’ file within the directory. We will copy the easy-rsa template directory to our home directory with the make-cadir command $ sudo make-cadir ~/openvpn-caĬhange the directory to newly created directory to begin configuring the CA $ cd ~/openvpn-ca Configure CA Variables To issue trusted certificates we will set up our own simple certificate authority (CA). This means that it will use certificates in order to encrypt the data traffic between the server and clients. $ sudo apt-get updateĪfter we update the server, we will install OpenVPN and easy-rsa $ sudo apt-get install openvpn easy-rsa Setting up the CA Directory Log into the Ubuntu machine using ‘sudo’ user and continue the steps below.ĪS OpenVPN is available in Ubuntu’s default repositories, we needed to update the server and we will install the easy-rsa package to get the internal CA (certificate authority) for use with our VPN server. To start the installation, we needed an Ubuntu machine with non-root user with sudo privileges, OpenVPN is a full featured and open source secure socket layer (SSL) VPN solution that accommodates wide range of configurations. For instance, If you are in a hotel or a coffee shop and wish to access work environment safely and securedly through a Wi-fi network using a Smartphone or laptop Yes, we can do it using a VPN (Virtual Private network) which allows you to connect to work place from untrusted networks privately and securely. In this article, we will learn how to configure OpenVPN server on Ubuntu Linux.
0 Comments
Leave a Reply. |