Open rustamabdullaev-maandag opened 2 years ago
The same issue. I've googled everything, but didn't even find the path to the CRL file.
This one is fixed.
The problem is config directory is placed under /root/snap/easy-openvpn-server
which is not readable for the daemon. One of the solutions (not the best) is to set 755
permission to all directories in the path to the crl.pem
.
This one is fixed. The problem is config directory is placed under
/root/snap/easy-openvpn-server
which is not readable for the daemon. One of the solutions (not the best) is to set755
permission to all directories in the path to thecrl.pem
.
Thank you, but it did not solve the issue for me
Still an issue in Debian 12, easy-openvpn-server v.0.2 rev. 121 and indeed it's NOT a permission issue.
The error is actually correct, the CRL is not yet valid.
It is currently:
$ date
Mon 20 Nov 21:29:55 UTC 2023
While the CRL contains:
# openssl crl -noout -text -in /root/snap/easy-openvpn-server/121/crl.pem
Certificate Revocation List (CRL):
Version 2 (0x1)
Signature Algorithm: sha256WithRSAEncryption
Issuer: C = BE, ST = East Flanders, L = Ghent, O = Easy OpenVPN Server, CN = easy-openvpn-server CA
Last Update: Nov 20 23:59:53 2023 GMT
Next Update: Oct 27 23:59:53 2123 GMT
Thank you, it seems there is an issue when your server is not using UTC. Let me look at how to fix it.
Server: Debian 11 amd64
Client: Windows 10
Install OpenVPN x64, add
default.ovpn
(comment out UDP connection), click "Connect"Client logs:
Server logs:
What am I doing wrong?