Easy-rsa is a tool that allows users to manage certificate authorities (CA), which are used to create and manage digital certificates for secure communication. In this tutorial, we will guide you on how to install it on OpenSUSE Latest in a step-by-step manner.
First, open a terminal on OpenSUSE Latest by pressing Ctrl+Alt+T
.
Install the git
package using the following command:
sudo zypper install git
git clone https://github.com/OpenVPN/easy-rsa.git
cd easy-rsa/easyrsa3
easyrsa
script with the init-pki
option:./easyrsa init-pki
./easyrsa build-ca
./easyrsa build-server-full server
./easyrsa build-client-full client
Note: Replace server
and client
with the names you want to give to your respective certificates.
sudo mkdir /etc/openvpn/keys/
sudo cp -v pki/ca.crt /etc/openvpn/keys/
sudo cp -v pki/private/server.key /etc/openvpn/keys/
sudo cp -v pki/issued/server.crt /etc/openvpn/keys/
sudo cp -v pki/issued/client.crt /etc/openvpn/keys/
sudo cp -v pki/private/client.key /etc/openvpn/keys/
Congratulations! You have successfully installed Easy-RSA on OpenSUSE Latest and generated a CA and client/server certificates.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!