OpenVPN suddenly does not connect

Suddenly the connections to one of my OpenVPNs servers are not working. The error that I was getting was something like:

TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

The post that I found in FAQ was the following:
Strange, nothing was changed on the server, neither on firewalls, networking etc. Strange.

I logged in to the server and I opened the log: /var/log/openvpn.log

This revealed the following error:

Wed Nov 6 11:25:54 2019 VERIFY ERROR: depth=0, error=CRL has expired: CN=vpn-client-01

So I went ran the following command:

/usr/share/easy-rsa/3/easyrsa gen-crl

and then copied the generate file over my existing crl file:

cd /etc/openvpn/
cp /root/pki/crl.pem .


Related Posts