How did I setup a Certificate Authority for OpenVPN on Debian 12?

Step 1

mkdir /root/easy-rsa
ln -s /usr/share/easy-rsa/* /root/easy-rsa/
chmod 700 /root/easy-rsa
cd /root/easy-rsa
./easyrsa init-pki

Step 2

Step 3

./easyrsa build-ca nopass