
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://www.thelinuxwiki.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Openvpn_easy-rsa_certificate_revoke_howto</id>
		<title>Openvpn easy-rsa certificate revoke howto - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://www.thelinuxwiki.com/index.php?action=history&amp;feed=atom&amp;title=Openvpn_easy-rsa_certificate_revoke_howto"/>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Openvpn_easy-rsa_certificate_revoke_howto&amp;action=history"/>
		<updated>2026-04-29T01:31:31Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21.5</generator>

	<entry>
		<id>http://www.thelinuxwiki.com/index.php?title=Openvpn_easy-rsa_certificate_revoke_howto&amp;diff=36&amp;oldid=prev</id>
		<title>Nighthawk: Pushed from thelinuxwiki.com.</title>
		<link rel="alternate" type="text/html" href="http://www.thelinuxwiki.com/index.php?title=Openvpn_easy-rsa_certificate_revoke_howto&amp;diff=36&amp;oldid=prev"/>
				<updated>2013-02-25T19:01:34Z</updated>
		
		<summary type="html">&lt;p&gt;Pushed from thelinuxwiki.com.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== steps to revoke  ==&lt;br /&gt;
&lt;br /&gt;
First open up a shell or command prompt window and cd to the easy-rsa directory. Then run:&lt;br /&gt;
 source ./vars&lt;br /&gt;
 revoke-full &amp;lt;Cert Common Name&amp;gt;&lt;br /&gt;
 cp ./keys/crl.pem /path/to/openvpn/direcory&lt;br /&gt;
 chmod 777 /path/to/openvpn/direcory/crl.pem&lt;br /&gt;
&lt;br /&gt;
You should see output similar to this:&lt;br /&gt;
&lt;br /&gt;
 Using configuration from /root/openvpn/20/openvpn/tmp/easy-rsa/openssl.cnf&lt;br /&gt;
 DEBUG[load_index]: unique_subject = &amp;quot;yes&amp;quot;&lt;br /&gt;
 Revoking Certificate 04.&lt;br /&gt;
 Data Base Updated&lt;br /&gt;
 Using configuration from /root/openvpn/20/openvpn/tmp/easy-rsa/openssl.cnf&lt;br /&gt;
 DEBUG[load_index]: unique_subject = &amp;quot;yes&amp;quot;&lt;br /&gt;
 client2.crt: /C=KG/ST=NA/O=OpenVPN-TEST/CN=client2/emailAddress=me@myhost.mydomain&lt;br /&gt;
 error 23 at 0 depth lookup:certificate revoked&lt;br /&gt;
 Note the &amp;quot;error 23&amp;quot; in the last line. That is what you want to see, as it indicates that a certificate verification of the revoked certificate failed.&lt;br /&gt;
&lt;br /&gt;
The revoke-full script will generate a CRL (certificate revocation list) file called crl.pem in the keys subdirectory. 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:&lt;br /&gt;
&lt;br /&gt;
Add line to conf file. &lt;br /&gt;
 crl-verify crl.pem&lt;br /&gt;
&lt;br /&gt;
Now all connecting clients will have their client certificates verified against the CRL, and any positive match will result in the connection being dropped.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Logging for CRL failures ==&lt;br /&gt;
&lt;br /&gt;
syslog message for a client trying to use a revoke certificate&lt;br /&gt;
 CRL CHECK FAILED: /C=US/ST=MI/L=somewhereville/O=example.com/OU=finance/CN=john_doe/emailAddress=john_doe@example.com is REVOKED&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
info here was taken from...&lt;br /&gt;
 http://openvpn.net/index.php/open-source/documentation/howto.html&lt;/div&gt;</summary>
		<author><name>Nighthawk</name></author>	</entry>

	</feed>