error=CRL has expired for all users
Posted: Fri May 21, 2021 3:29 pm
Hi, I did see in this topic somewhere a similar issue, but I cannot find it. so here i go... (I have inherited this system):
1: all my current users are working (initially)
2: I create a new user (who can also logon).
3: I decide to enable crl
3:1 I edit the server.conf and add the line "crl-verify crl.pem"
3:2 I bounce the processes
3:3 I trace the users, who have the following error message:
VERIFY_ERROR: depth=0, error=CRL has expired: C=UK....
openSSL: error:14089086:SSL routines:ssl3_get_client_certificate:certificate verify failed
<<>>><<>>> AT THIS POINT, NO USERS CAN LOGIN <<>><<>><>><<><>
3:4 If I switch back to removing the crl-verify crl.pem, all users can login as normal.
4: Easy-Rsa:
4:1 I have easy-rsa installed i think 'partially'.... (not by rpm or yum)....
4:2 /etc/openvpn/easy-rsa exists, with a bunch of build-* scripts, and no easy-rsa, or easyrsa script by which I can pass a gen-crl to.
4:3 The current revoke method i have is :
cd /etc/openvpn/easy-rsa
source ./vars
revoke-full <name> <-- i think this does the gencrl - it does not copy it anywhere, other than leave it in keys.
<<><><<<> Revoke of a user simply does not work currently <>><<><>><
4:4 that is it, but the crl-verify was not in config file. so revokes do not work currently. so when i started step 3: above, i was hoping the user would be revoked, but sadly isnt.
5: I see that in the index.txt on line 1: V ... NumberZ 01 unknown ... CN=server/name=server/email=..... exists, I am wondering if the server certificate itself is revoked ?
Can anybody advise me on what i'm not understanding please ?
1: all my current users are working (initially)
2: I create a new user (who can also logon).
3: I decide to enable crl
3:1 I edit the server.conf and add the line "crl-verify crl.pem"
3:2 I bounce the processes
3:3 I trace the users, who have the following error message:
VERIFY_ERROR: depth=0, error=CRL has expired: C=UK....
openSSL: error:14089086:SSL routines:ssl3_get_client_certificate:certificate verify failed
<<>>><<>>> AT THIS POINT, NO USERS CAN LOGIN <<>><<>><>><<><>
3:4 If I switch back to removing the crl-verify crl.pem, all users can login as normal.
4: Easy-Rsa:
4:1 I have easy-rsa installed i think 'partially'.... (not by rpm or yum)....
4:2 /etc/openvpn/easy-rsa exists, with a bunch of build-* scripts, and no easy-rsa, or easyrsa script by which I can pass a gen-crl to.
4:3 The current revoke method i have is :
cd /etc/openvpn/easy-rsa
source ./vars
revoke-full <name> <-- i think this does the gencrl - it does not copy it anywhere, other than leave it in keys.
<<><><<<> Revoke of a user simply does not work currently <>><<><>><
4:4 that is it, but the crl-verify was not in config file. so revokes do not work currently. so when i started step 3: above, i was hoping the user would be revoked, but sadly isnt.
5: I see that in the index.txt on line 1: V ... NumberZ 01 unknown ... CN=server/name=server/email=..... exists, I am wondering if the server certificate itself is revoked ?
Can anybody advise me on what i'm not understanding please ?