<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Nejko's randomness &#187; EJBCA</title>
	<atom:link href="http://nejc.skoberne.net/tag/ejbca/feed/" rel="self" type="application/rss+xml" />
	<link>http://nejc.skoberne.net</link>
	<description>Random thoughts with high entropy</description>
	<lastBuildDate>Sun, 20 Mar 2011 22:12:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>OpenVPN package generator</title>
		<link>http://nejc.skoberne.net/2008/11/openvpn-package-generator/</link>
		<comments>http://nejc.skoberne.net/2008/11/openvpn-package-generator/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 09:42:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Projects]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[EJBCA]]></category>
		<category><![CDATA[Open source]]></category>
		<category><![CDATA[OpenVPN]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Virtual private network]]></category>

		<guid isPermaLink="false">http://nejc.skoberne.net/?p=83</guid>
		<description><![CDATA[OpenVPN is an open, secure and thoroughly tested VPN technology. Our company Infrax d.o.o. also provides OpenVPN clients for customers to be able to access their companies&#8217; networks. We don&#8217;t use password-based authentication, but certificate-based one, which means we have our own full-blown Certificate Authority (self signed, of course). We use EJBCA for that and [...]]]></description>
			<content:encoded><![CDATA[<p><a class="zem_slink" title="OpenVPN" rel="homepage" href="http://openvpn.net/">OpenVPN</a> is an open, secure and thoroughly tested <a class="zem_slink" title="Virtual private network" rel="wikipedia" href="http://en.wikipedia.org/wiki/Virtual_private_network">VPN</a> technology. Our company Infrax d.o.o. also provides OpenVPN clients for customers to be able to access their companies&#8217; networks. We don&#8217;t use password-based authentication, but certificate-based one, which means we have our own full-blown <a class="zem_slink" title="Certificate authority" rel="wikipedia" href="http://en.wikipedia.org/wiki/Certificate_authority">Certificate Authority</a> (self signed, of course). We use <a href="http://www.ejbca.org/" target="_blank">EJBCA</a> for that and it works beautifully.</p>
<p>However, our customers are expecting simple solutions: a single package with their own config file and certificate. Although EJBCA supports generating OpenVPN packages on the fly on the server, it would be a bit more complicated to make it work, because we need to generate different config files for our customers. Which means we would need a special <a class="zem_slink" title="Lookup table" rel="wikipedia" href="http://en.wikipedia.org/wiki/Lookup_table">lookup-table</a> (we could use the EJBCA&#8217;s <a class="zem_slink" title="MySQL" rel="homepage" href="http://www.mysql.com">MySQL</a> database) which would link specific fields in certificates&#8217; &#8220;distingished name&#8221; with corresponding OpenVPN config files. This would be possible, but a bit too complicated for now.</p>
<p>So I decided that we create the packages &#8220;semi-manually&#8221;, i.e. manually but in &#8220;batch&#8221; mode. First, you need <a href="http://nejc.skoberne.net/wp-content/uploads/2008/11/openvpn-generator.zip" target="_blank">my package</a> which includes OpenVPN source environment (OpenVPN 2.1 RC7) which will be compiled with <a class="zem_slink" title="Nullsoft Scriptable Install System" rel="homepage" href="http://nsis.sourceforge.net/">NSIS</a> into an <a class="zem_slink" title="Executable" rel="wikipedia" href="http://en.wikipedia.org/wiki/Executable">executable</a> together with the certificate and config files.</p>
<p>Then you need to obtain the certificates for the clients you want to create the packages for and provide the config file as well. You must also install <a href="http://nsis.sourceforge.net/" target="_blank">NSIS</a> and then you are ready. Just run &#8220;generate.cmd&#8221; file in the &#8220;openvpn-generator&#8221; directory and the executables will be created in &#8220;openvpn-generator/exes&#8221;.</p>
<p>If you have problems, questions, just let me know.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Zemified by Zemanta" href="http://reblog.zemanta.com/zemified/cf12f832-416a-4e71-834f-83bc1bb1929d/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_e.png?x-id=cf12f832-416a-4e71-834f-83bc1bb1929d" alt="Reblog this post [with Zemanta]" /></a></div>
]]></content:encoded>
			<wfw:commentRss>http://nejc.skoberne.net/2008/11/openvpn-package-generator/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

