<?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"
	>

<channel>
	<title>YAB &#187; 2008 &#187; April</title>
	<atom:link href="http://blog.alexgirard.com/2008/04/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alexgirard.com</link>
	<description>Yet Another Blog</description>
	<pubDate>Wed, 26 Nov 2008 23:44:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
	<language>en</language>
			<item>
		<title>[OpenID] All-in-One package to install your own server</title>
		<link>http://blog.alexgirard.com/openid-install-your-own-server/</link>
		<comments>http://blog.alexgirard.com/openid-install-your-own-server/#comments</comments>
		<pubDate>Thu, 10 Apr 2008 10:44:51 +0000</pubDate>
		<dc:creator>alx</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[all-in-one]]></category>

		<category><![CDATA[download]]></category>

		<category><![CDATA[openid]]></category>

		<category><![CDATA[package]]></category>

		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://blog.alexgirard.com/?p=152</guid>
		<description><![CDATA[We are going to use our own openid server for various projects, it was fairly easy to install at then end.
Because sources are diffused on the net, here is a all-in-one package you&#8217;ll just need to put on your webhost to start your server:
Download package
Update: OpenId-Server now on Github.com
Configuration
In the package, you need to edit [...]]]></description>
			<content:encoded><![CDATA[<p>We are going to use our own openid server for various projects, it was fairly easy to install at then end.</p>
<p>Because sources are diffused on the net, here is a all-in-one package you&#8217;ll just need to put on your webhost to start your server:</p>
<p><b><a href="http://blog.alexgirard.com/wp-content/uploads/2008/04/openid.tgz">Download package</a></b></p>
<p><strong>Update</strong>: <a href="http://github.com/alx/openid-server/tree/master">OpenId-Server now on Github.com</a></p>
<h3>Configuration</h3>
<p>In the package, you need to edit some configuration in <em>web/config.php</em>:</p>
<pre class="prettyprint">
/**
 * The administrator's email address.  You may leave this empty if you
 * wish.  If empty, the "Contact (email address)" message will not
 * appear on every page footer.
 */
define('SITE_ADMIN_EMAIL', "admin@example.com");

/**
 * Set these values for administrative access.  This account will be
 * able to create and remove accounts from the auth backend.  This
 * username will not be permitted to use an OpenID.  The password MUST
 * be an MD5 hexadecimal hash of the password you want to use.
 * Example:
 *
 * define('ADMIN_PASSWORD_MD5', '21232f297a57a5a743894a0e4a801fc3');
 *
 */
define('ADMIN_USERNAME', 'admin');
define('ADMIN_PASSWORD_MD5', '');
</pre>
<p><a href="http://www.zappersoftware.com/Help/md5.php">Visit this page to transform your password in MD5 hash</a></p>
<pre class="prettyprint">
/**
 * Storage backend to use.  Currently the only choice is "MYSQL".  See
 * storage.php for storage backend implementations.  Parameters for
 * connecting to the storage backend.  See storage.php if you want to
 * create your own backend.
 */
define('STORAGE_BACKEND', 'MYSQL');
global $storage_parameters;
$storage_parameters = array('username' => 'openid',
                            'password' => '',
                            'database' => 'php_openid_server',
                            'hostspec' => 'localhost');
</pre>
<p>There are more options you can change in <em>config.php</em>, feel free to experiment <img src='http://blog.alexgirard.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>Link to HTTP server</h3>
<p>You need to tell to your server to access OpenID server in the &#8216;<em>web</em>&#8216; directory.<br />
Here is how it works on my webhost:</p>
<pre class="prettyprint">
ln -sf ~/openid/web/ ~/public_html/openid/
</pre>
<p>Now you can access my OpenID server on <a href="http://openid.alexgirard.com">http://openid.alexgirard.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexgirard.com/openid-install-your-own-server/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
