<?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>John McLearukfederation | John McLear</title>
	<atom:link href="http://mclear.co.uk/category/ukfederation/feed/" rel="self" type="application/rss+xml" />
	<link>http://mclear.co.uk</link>
	<description>My mission: To encourage effective use of ICT in Schools. My main focus is on ages 3-11.</description>
	<lastBuildDate>Thu, 17 May 2012 21:14:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://primaryblogger.co.uk/?v=3.3.2</generator>
		<item>
		<title>Shibboleth WAYFless URLs UKFederation</title>
		<link>http://mclear.co.uk/2009/10/27/shibboleth-wayfless-urls-ukfederation/</link>
		<comments>http://mclear.co.uk/2009/10/27/shibboleth-wayfless-urls-ukfederation/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 20:55:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[shibboleth]]></category>
		<category><![CDATA[single sign on]]></category>
		<category><![CDATA[sso]]></category>
		<category><![CDATA[ukfederation]]></category>
		<category><![CDATA[wayfless]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2009/10/27/shibboleth-wayfless-urls-ukfederation/</guid>
		<description><![CDATA[Shibboleth is a single sign on method used by UK schools. Shibboleth allows you to log into multiple services without the need to enter your username and password. Shibboleth WAYFLess URLS is a knowledge requirement for Shibboleth Service Providers and users. A shibboleth user may use a service frequently and want to skip the Identity [...]]]></description>
			<content:encoded><![CDATA[<p><b>
<div><span class="Apple-style-span" style="font-weight: normal; ">Shibboleth is a single sign on method used by UK schools.</span></div>
<div><span class="Apple-style-span" style="font-weight: normal; "> Shibboleth allows you to log into multiple services without the need to enter your username and password.</span></div>
<div><span class="Apple-style-span" style="font-weight: normal;"><br /></span></div>
<div><span class="Apple-style-span" style="font-weight: normal;">Shibboleth WAYFLess URLS is a</span></div>
<div><span class="Apple-style-span" style="font-weight: normal;"> knowledge requirement for Shibboleth Service Providers and users.  A shibboleth user may use a service frequently and want to</span> skip the Identity provider selection page,<span class="Apple-style-span" style="font-weight: normal;"> a wayfless URL does exactly this.</span></div>
<div></div>
<p>Example</b>
<div><b><br /></b></div>
<div><b><br />
<input type="text" size="80" value="https://wayf.ukfederation.org.uk/shibboleth-wayf/ukfull.wayf?target=cookie&amp;providerId=urn:mace:ac.uk:sdss.ac.uk:provider:service:target.iay.org.uk&amp;time=value=1256676454&amp;cache=perm&amp;action=selection&amp;origin=https://idp.primarylogon.co.uk/idp/shibboleth&amp;shire=https://target.iay.org.uk/Shibboleth.sso/SAML/POST"></b></div>
<div><b><i>Copy and paste the above and replace %20 with ?</i></b></div>
<div><b><i><br /></i></b></div>
<div><span class="Apple-style-span" style="font-weight: bold; ">Another example</span></div>
<div><b><i><span class="Apple-style-span" style="font-style: normal; font-weight: normal; "><br />
<input type="text" size="80" value="https://wayf.ukfederation.org.uk/shibboleth-wayf/uk.wayf?target=https://shib.schoolemail.co.uk/secure&amp;providerId=https://sp.schoolemail.co.uk/shibboleth&amp;cache=perm&amp;action=selection&amp;origin=https://idp.primarylogon.co.uk/idp/shibboleth&amp;shire=https://shib.schoolemail.co.uk/Shibboleth.sso/SAML/POST"></span><br /></i></b></div>
<div></div>
<div><b>What bit do I need to change to configure my service to Primary Logon?</b></div>
<div></div>
<div>https://wayf.ukfederation.org.uk/shibboleth-wayf/ukfull.wayf?target=cookie</div>
<div>&amp;providerId=urn:mace:ac.uk:sdss.ac.uk:provider:service:<b>target.iay.org.uk</b></div>
<div>&amp;cache=perm&amp;action=selection</div>
<div><b><span class="Apple-style-span" style="font-weight: normal; ">&amp;origin=https://idp.primarylogon.co.uk/idp/shibboleth</span></b></div>
<div><b><span class="Apple-style-span" style="font-weight: normal; ">&amp;shire=https://<b>target.iay.org.uk</b>/Shibboleth.sso/SAML/POST</span></b></div>
<div></div>
<div>The bits in bold need changing.</div>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=182&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p class="relatedP">Related posts:<ol>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 2. Shibboleth Config (6 hours) Edit shibboleth2.xml Replace all...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/testing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 4. Testing (2 hours) Shibboleth can be started using...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/26/installing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Internet 2 give some &#8220;creative&#8221; documentation for this procedure so...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2009/10/27/shibboleth-wayfless-urls-ukfederation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Configuring Apache for Shibboleth on CentOS to the ukfederation w/ Godaddy certs</title>
		<link>http://mclear.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/</link>
		<comments>http://mclear.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 15:37:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[certificates]]></category>
		<category><![CDATA[csr]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[janet]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[shibboleth]]></category>
		<category><![CDATA[ukfederation]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/</guid>
		<description><![CDATA[Part 3. Apache config. (1 hour) The above will create a CSR request for your resource, when asked what the common name is enter something like shib.yourdomain.com - DO NOT use sp.yourdomain.com or the same common name as you used to register your SP! Edit the CSR and copy its contents into clipboard. Then login [...]]]></description>
			<content:encoded><![CDATA[<h2>Part 3.  Apache config. (1 hour)</h2>
<pre class="brush: bash; title: ; notranslate">
cd /etc/shibboleth
openssl genrsa -des3 -out external.key 2048
openssl req -new -key external.key -out external.csr
</pre>
<p>The above will create a CSR request for your resource, when asked what the common name is enter something like shib.yourdomain.com -</span></span><strong><span style="font-family: arial"><span style="font-size: small"> DO NOT</span></span></strong><span style="font-family: arial"><span style="font-size: small"> use sp.yourdomain.com or the same common name as you used to register your SP!</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">
</span></span></span></pre>
<p>Edit the CSR</span></span></strong><span style="font-family: arial"><span style="font-size: small"> and </span></span><strong><span style="font-family: arial"><span style="font-size: small">copy its contents into clipboard</span></span></strong><span style="font-family: arial"><span style="font-size: small">. Then login to your godaddy hosting account and </span></span><strong><span style="font-family: arial"><span style="font-size: small">paste the CSR request into your certificate reques</span></span></strong><strong><span style="font-family: arial"><span style="font-size: small">t.</span></span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">Godaddy will do their thing then get back to you with a CRT a few files usually within 24 hours.</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">
</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">When they get back to you with the files </span></span><strong><span style="font-family: arial"><span style="font-size: small">copy or download them the files to /etc/shibboleth</span></span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">
</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">Rename shib.yourdomain.com.crt to external.crt</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><strong><span style="font-family: arial"><span style="font-size: small">Rename gd_bundle.crt to external_int.crt and place it in /etc/shibboleth</span></span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">
</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">
</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><strong><span style="font-weight: normal"><span style="font-size: small"><span style="font-family: arial"> </span></span></span></strong></span></pre>
<p><strong><span style="font-family: arial"><span style="font-size: small"><strong> </strong></span></span></strong></p>
<p><strong> </strong></p>
<p><strong> </strong></p>
<p><strong></p>
<div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><strong><span style="font-family: arial"><span style="font-size: small">Edit /etc/httpd/conf.d/ssl.conf</span></span></strong></span></pre>
<div><span style="font-weight: bold"><span style="font-size: small"><span style="font-family: arial"> </span></span></span></div>
<blockquote>
<div><span style="font-weight: bold"><span style="font-family: arial"><span style="font-size: small">Replace</span></span></span></div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">SSLCertificateKeyFile /etc/pki/tls/private/localhost.key</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-weight: bold"><span style="font-size: small">With</span></span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small"><strong> </strong>SSLCertificateKeyFile /etc/shibboleth/external.key</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">
</span></span></span></pre>
<div>
<div><span style="font-size: small"><span style="font-family: arial"> </span></span></div>
<div><strong><span style="font-family: arial"><span style="font-size: small">Replace</span></span></strong></div>
<div><span style="font-family: arial"><span style="font-size: small">SSLCertificateFile /etc/pki/tls/private/localhost.crt</span></span></div>
<div><span style="font-family: arial"><strong><span style="font-size: small"><br />
</span></strong></span></div>
<div><span style="font-weight: bold;font-family: arial"><span style="font-size: small">With</span></span></div>
<div><span style="font-family: arial"><span style="font-size: small">SSLCertificateFile /etc/shibboleth/external.crt</span></span></div>
<div><span style="font-size: small"><span style="font-family: arial"> </span></span></div>
</div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">Under SSLCertificateKeyFile </span></span><strong><span style="font-family: arial"><span style="font-size: small">paste</span></span></strong><span style="font-family: arial"><span style="font-size: small"> SSLCertificateChainFile /etc/shibboleth/external_int.crt</span></span></span></pre>
</blockquote>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-size: small"><span style="font-family: arial"> </span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span style="font-size: small"><span> </span></span></span></pre>
</div>
<div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">Edit /etc/httpd/conf/httpd.conf</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span style="font-size: small"><span> </span></span></span></pre>
<blockquote>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><strong><span style="font-family: arial"><span style="font-size: small">Replace</span></span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small"><strong> </strong></span></span><span style="line-height: 14px"><tt><span style="font-family: arial"><span style="font-size: small">UseCanonicalName</span></span></tt><span style="font-family: arial"><span style="font-size: small"> Off</span></span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="line-height: 14px"><strong><span style="font-family: arial"><span style="font-size: small">With</span></span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="line-height: 14px"><span style="font-family: arial"><span style="font-size: small"><strong> </strong></span></span><span style="line-height: 14px"><tt><span style="font-family: arial"><span style="font-size: small">UseCanonicalName</span></span></tt><span style="font-family: arial"><span style="font-size: small"> On</span></span></span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="line-height: 4px"><span style="line-height: 9px"><strong><span style="font-family: arial"><span style="font-size: small">Find the line beginning with ServerName</span></span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="line-height: 7px"><strong><span style="font-family: arial"><span style="font-size: small">Comment it out</span></span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="line-height: 4px"><span style="font-family: arial"><span style="font-size: small">Below it</span></span><strong><span style="font-family: arial"><span style="font-size: small"> type</span></span></strong><span style="font-family: arial"><span style="font-size: small"> ServerName shib.yourdomain.com:80</span></span></span></pre>
<div><span style="font-family: monospace"><span><span style="font-size: small"><br />
</span></span></span></div>
</blockquote>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><strong><span style="font-size: small">/usr/sbin/apachectl restart</span></strong></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-family: Georgia, serif">
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">/usr/sbin/apachectl start</span></strong></span></span></pre>
<p></span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">The above commands will restart Apache or start it if it hasn't already been started</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">
</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">Edit  /etc/sysconfig/iptables</span></strong><span style="font-size: small"> &amp; above all REJECT rules paste:</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small"> </span></span></span></pre>
</div>
<blockquote>
<div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 443 -j ACCEPT</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8443 -j ACCEPT</span></span></span></pre>
</div>
</blockquote>
<div>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><strong><span style="font-size: small">/sbin/service iptables restart</span></strong></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">
</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span><span style="font-family: arial"><span style="font-size: small">If everything restarts without any errors then:</span></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span><span style="font-size: small">Continue to the </span><a href="http://mclear.co.uk/2009/10/27/testing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/"><span style="font-size: small">testing phase</span></a></span></span></pre>
<pre style="margin-top: 10px;margin-right: 0px;margin-bottom: 10px;margin-left: 0px;text-align: left;padding: 0px"><span style="font-family: arial"><span>
</span></span></pre>
</div>
<p></strong></p>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=180&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p class="relatedP">Related posts:<ol>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 2. Shibboleth Config (6 hours) Edit shibboleth2.xml Replace all...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/26/installing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Internet 2 give some &#8220;creative&#8221; documentation for this procedure so...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/testing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 4. Testing (2 hours) Shibboleth can be started using...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Configuring Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</title>
		<link>http://mclear.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/</link>
		<comments>http://mclear.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/#comments</comments>
		<pubDate>Tue, 27 Oct 2009 15:35:00 +0000</pubDate>
		<dc:creator>Admin Admin</dc:creator>
				<category><![CDATA[certificates]]></category>
		<category><![CDATA[janet]]></category>
		<category><![CDATA[key]]></category>
		<category><![CDATA[shibboleth]]></category>
		<category><![CDATA[shibboleth2.xml]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[ukfederation]]></category>

		<guid isPermaLink="false">http://mclear.primaryblogger.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/</guid>
		<description><![CDATA[Part 2. Shibboleth Config (6 hours) Edit shibboleth2.xml Replace all instances of sp.example.org with your Entity ID ie sp.yourdomain.com Search for ApplicationDefaults Add homeURL=&#8221;https://sp.domainz.com/ahomeurl&#8221; under entityID &#8211; homeURL is the first url of the resource if none is specified. Search for &#60;sessions Before the default example (Reading Default example directs to a speci&#8230; &#8221; Insert: [...]]]></description>
			<content:encoded><![CDATA[<p>Part 2. Shibboleth Config (6 hours)</p>
<pre class="brush: bash; title: ; notranslate">
cd /etc/shibboleth
wget http://metadata.ukfederation.org.uk/ukfederation.pem
wget http://metadata.ukfederation.org.uk/ukfederation-metadata.xml
</pre>
<p>Edit shibboleth2.xml</p>
<blockquote>
<div>
Replace all instances of sp.example.org with your Entity ID ie sp.yourdomain.com</p>
<p>Search for ApplicationDefaults</p>
<p><span style="line-height: normal"><span style="font-family: arial"><span style="font-size: small">Add home</span></span><span style="font-family: arial"><span style="font-size: small">URL=&#8221;https://sp.domainz.com/ahomeurl&#8221; under entityID &#8211; homeURL is the first url of the resource if none is specified.</span></span></span><span style="font-family: arial"><span style="font-size: small"> </span></span></p>
</div>
<div>
<p>Search for &lt;sessions</p>
<p><span style="line-height: 14px"><strong><span style="font-family: arial"><span style="font-size: small">Before the default example (Reading Default example directs to a speci&#8230; &#8221; Insert:</span></span></strong><span style="font-size: small"><span style="font-family: arial"> </span></span></span></p>
</div>
<pre class="brush: bash; title: ; notranslate">
&lt;SessionInitiator isDefault=&quot;true&quot; id=&quot;UKFederation&quot; Location=&quot;/WAYF/UKFederation&quot;
type=&quot;WAYF&quot; defaultACSIndex=&quot;5&quot;
URL=&quot;https://wayf.ukfederation.org.uk/WAYF&quot;
/&gt;
</pre>
<p>Search for exportLocation</p>
<p>Under exportLocation replace http://localhost with https://localhost</p>
<div>
Replace all instances of root@localhost with the technical support email address</span></span></strong></div>
</div>
<div>
<p>Search for MetadataProvider</p>
<p>This bit gets messy so pay close attention&#8230;..
</p></div>
<div>
After the line reading  Insert
</div>
<pre class="brush: bash; title: ; notranslate">
&lt;MetadataProvider type=&quot;XML&quot;

uri=&quot;http://metadata.ukfederation.org.uk/ukfederation-metadata.xml&quot;

backingFilePath=&quot;/etc/shibboleth/ukfederation-metadata.xml&quot; reloadInterval=&quot;14400&quot;&gt;

&lt;MetadataFilter type=&quot;RequireValidUntil&quot; maxValidityInterval=&quot;2592000&quot;/&gt;

&lt;SignatureMetadataFilter certificate=&quot;ukfederation.pem&quot;/&gt;

&lt;/MetadataProvider&gt;
</pre>
<div>
<p><span style="line-height: 20px"><span style="font-family: arial"><span style="font-size: small">Search for the line </span></span></span><span style="color: #333333"><span style="line-height: 14px"><strong><span style="font-family: arial"><span style="font-size: small">Delete it or comment it out.</span></span></strong></span></span></p>
<p>Directly below it paste the following:</p>
<p><span style="font-family: arial"><span style="font-size: small">                       /etc/shibboleth/sp.key                                        /etc/shibboleth/sp.crt               </span></span></p>
</div>
<div><span style="font-family: arial"><span style="font-size: small"> </span></span></div>
<p>Don&#8217;t forget to replace yourpassword with your key password if you have set one!</p></blockquote>
<div>
<p><span style="font-size: small"> </span></p>
<p>For now we are done in shibboleth2.xml</p>
<p>Run ./keygen.sh to generate your new key pair</p>
<pre class="brush: bash; title: ; notranslate">
mv sp-key.pem sp.key
mv sp-cert.pem sp.crt
</pre>
<p><a href="http://mclear.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/"><span style="font-size: small"><span style="color: #000000">Now we must configure Apache for shibboleth</span></span></a></p>
<p class="wp-report-this"><a href="http://mclear.co.uk?moderation_action=report_form&object_type=post&object_id=179&width=250&height=300" class="thickbox" title="Report This Post">Report This Post</a></p><p class="relatedP">Related posts:<ol>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/configuring-apache-for-shibboleth-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Configuring Apache for Shibboleth on CentOS to the ukfederation w/ Godaddy certs'>Configuring Apache for Shibboleth on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 3. Apache config. (1 hour) The above will create...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/27/testing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Testing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Part 4. Testing (2 hours) Shibboleth can be started using...</small></li>
<li class="relatedP"><a href='http://mclear.co.uk/2009/10/26/installing-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/' rel='bookmark' title='Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs'>Installing Shibboleth SP 2 on CentOS to the ukfederation w/ Godaddy certs</a> <small>Internet 2 give some &#8220;creative&#8221; documentation for this procedure so...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://mclear.co.uk/2009/10/27/configuring-shibboleth-sp-2-on-centos-to-the-ukfederation-w-godaddy-certs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

