LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2010, 04:27 AM   #1
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Rep: Reputation: 18
Smile OpenVPN Certs not getting revoked


Hi, While revoking OpenVpn client certs from Server I am getting following output:

./revoke-full client-xxxxxxx
Using configuration from /etc/openvpn/openvpn-2.0.9/easy-rsa/openssl.cnf
ERROR:Already revoked, serial number 2D
Using configuration from /etc/openvpn/openvpn-2.0.9/easy-rsa/openssl.cnf
client-xxxxxxxxx.crt: /C=IN/ST=xxxxxxxx/O=xxxxxx xxxxxxxxx/OU=xxxxx/CN=VPN-xxxxxx/emailAddress=xxxxxxxxxxxxxxxx@xxxxxxxx.com
error 3 at 0 depth lookup:unable to get certificate CRL

I can see it shows that Certs already revoked as it lists R in front of user's cert entry under index.txt file and my main concern is error list "error 3 at 0 depth lookup:unable to get certificate CRL".

Whereas crl.pem file is at the same location as mentioned under "/etc/openvpn/openvpn-2.0.9/easy-rsa/openssl.cnf" configuration file and it's time stamps gets changed as soon as I try to revoke any certs.

The hazardous effect of this error is that as it shows that certs are revoked but still certs are working and client can connect using same certs.

Got to resolve this asap, any help and suggestion will be appreciated.

Thanks.

Last edited by pkhera_2001; 04-14-2010 at 01:44 AM.
 
Old 04-13-2010, 10:38 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
I had this exact same issue a year or 2 ago.
If I recall correctly I think you have to specify with a directive what your revocation file is.

Taken from the openvpn website howto(http://openvpn.net/index.php/open-so...ion/howto.html)
Quote:
The file should be copied to a directory where the OpenVPN server can access it, then CRL verification should be enabled in the server configuration:

crl-verify crl.pem
 
Old 04-14-2010, 01:42 AM   #3
pkhera_2001
Member
 
Registered: Mar 2006
Location: New Delhi, India
Distribution: Fedora, CentOS, RHEL, Ubuntu
Posts: 67

Original Poster
Rep: Reputation: 18
[solved]

Thanks deadeys,

I was able to resolve it by putting new crl.pem file at the location mentioned under server.conf file of Openvpn.

I got it learned after going through "How To" from openvpn web portal.

I appreciate your response.

Thanks,
Pkhera
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Detecting Revoked SSL Certificate dslehman Linux - Software 3 11-08-2010 07:14 PM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 02:42 AM
Openssl - verify wheather certificate is revoked djgerbavore Linux - Security 1 11-21-2005 07:20 AM
Unix certs Linux certs and jobs bru Linux - Certification 1 11-18-2004 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration