<?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>Phil Hunter &#187; Microsoft</title>
	<atom:link href="http://blog.philhunter.com/category/microsoft/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.philhunter.com</link>
	<description>Mac, Linux and everthing else!</description>
	<lastBuildDate>Tue, 01 Jun 2010 20:22:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint 2007 &#8211; An unexpected error has occurred</title>
		<link>http://blog.philhunter.com/2008/12/01/sharepoint-2007-an-unexpected-error-has-occurred/</link>
		<comments>http://blog.philhunter.com/2008/12/01/sharepoint-2007-an-unexpected-error-has-occurred/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 13:59:23 +0000</pubDate>
		<dc:creator>phil</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[stacktrace]]></category>
		<category><![CDATA[unexpected]]></category>

		<guid isPermaLink="false">http://blog.philhunter.com/?p=18</guid>
		<description><![CDATA[Sometimes things can and do go wrong when working with WSS or SharePoint.  The first port of call should be the SharePoint Log files.
If this help then its a good idea to change the default behavour of the .NET web application to allow the application stack traces to be shown when the page fails to render.  [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes things can and do go wrong when working with WSS or SharePoint.  The first port of call should be the SharePoint Log files.</p>
<p>If this help then its a good idea to change the default behavour of the .NET web application to allow the application stack traces to be shown when the page fails to render.  Simply locate your web applications <strong>web.config</strong> file and make the following changes:</p>
<p style="text-align: left;"><strong>From:<br />
</strong><code>&lt;SafeMode MaxControls="200" CallStack="false" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false"&gt;</code></p>
<p style="text-align: left;"><strong>To:<br />
</strong><code>&lt;SafeMode MaxControls="200" CallStack="<strong>true</strong>" DirectFileDependencies="10" TotalFileDependencies="50" AllowPageLevelTrace="false"&gt;</code></p>
<p>and also</p>
<p><strong>From:</strong><br />
<code>&lt;customErrors mode="On" /&gt;</code></p>
<p><strong>To:</strong><br />
<code>&lt;customErrors mode="<strong>Off</strong>" /&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhunter.com/2008/12/01/sharepoint-2007-an-unexpected-error-has-occurred/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Windows Clip Art on a Mac</title>
		<link>http://blog.philhunter.com/2008/08/20/using-windows-clip-art-on-a-mac/</link>
		<comments>http://blog.philhunter.com/2008/08/20/using-windows-clip-art-on-a-mac/#comments</comments>
		<pubDate>Wed, 20 Aug 2008 16:20:38 +0000</pubDate>
		<dc:creator>phil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PICT]]></category>
		<category><![CDATA[WMF]]></category>

		<guid isPermaLink="false">http://blog.philhunter.com/?p=12</guid>
		<description><![CDATA[Having recently convinced my wife that she needed to make the switch to Mac OS X I was horrified to find that the Mac would not open WMF files.  Over the years I have accumulated a large collection of clip art files in the WMF (Windows Metafile) file format and didn&#8217;t really want to start [...]]]></description>
			<content:encoded><![CDATA[<p>Having recently convinced my wife that she needed to make the switch to Mac OS X I was horrified to find that the Mac would not open WMF files.  Over the years I have accumulated a large collection of clip art files in the WMF (<a title="Windows Metafile" href="http://en.wikipedia.org/wiki/Windows_Metafile">Windows Metafile</a>) file format and didn&#8217;t really want to start again.</p>
<p>I found the quickest way to resolve this was to convert all of my existing WMF file into the PICT file format.  Using one of my Linux servers I ran the following shell command against my picture library:</p>
<p><code>find /home/user/clipart/ *.WMF -print0 | while IFS= read -rd $'\0' f;<br />
do echo "[$f]";<br />
convert "$f" "$f.pict";<br />
rm -f "$f";<br />
done</code></p>
<p>This creates a list of files who&#8217;s file-name ends with WMF.  We then loop through each of these file-names converting each and saving it with a .pict file extension.  The <em>IFS= read -rd</em> parameters are absolutely necessary should your WMF files contain spaces.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhunter.com/2008/08/20/using-windows-clip-art-on-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Self-Signed IIS SSL Certificates using OpenSSL</title>
		<link>http://blog.philhunter.com/2008/04/16/self-signed-iis-ssl-certificates-using-openssl/</link>
		<comments>http://blog.philhunter.com/2008/04/16/self-signed-iis-ssl-certificates-using-openssl/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 15:01:46 +0000</pubDate>
		<dc:creator>phil</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://blog.philhunter.com/?p=9</guid>
		<description><![CDATA[This tutorial assumes that you have a Linux box with OpenSSL installed,and that you want to create a self-signed certificate for IIS5.0

Set up your CA (you only have to do this once)
ON THE LINUX BOX&#8230;

Create a private key
openssl genrsa -des3 -out CA.key 1024
(You&#8217;ll need to supply a passphrase.  DON&#8217;T FORGET THIS!!)
Set this to read-only [...]]]></description>
			<content:encoded><![CDATA[<p>This tutorial assumes that you have a Linux box with OpenSSL installed,and that you want to create a self-signed certificate for IIS5.0</p>
<ol>
<li><strong>Set up your CA (you only have to do this once)</strong><br />
<strong><em>ON THE LINUX BOX&#8230;</em></strong></p>
<ul>
<li>Create a private key<br />
<blockquote><p>openssl genrsa -des3 -out CA.key 1024</p></blockquote>
<p>(You&#8217;ll need to supply a passphrase.  DON&#8217;T FORGET THIS!!)</li>
<li>Set this to read-only for root access only<br />
<blockquote><p>chmod 400 CA.key</p></blockquote>
</li>
<li>Create the CA certificate<br />
<blockquote><p>openssl req -new -key CA.key -x509 -days 1095 -out CA.crt</p></blockquote>
<p>(Provide appropriate responses to the prompts&#8230;for Common Name,	you might want to use something like &#8220;OurCompany CA&#8221;)</li>
<li>Country Name: GB</li>
<li>State or Province Name: Newcastle</li>
<li>Locality Name: Gateshead</li>
<li>Organization Name: Your company name</li>
<li>Organizational Unit Name: OI</li>
<li>Common Nmae: www.yourwebsite-address.com</li>
<li>Email Address: your-admin-email@address.com</li>
<li>Set the certificate to read-only for root access only<br />
<blockquote><p>chmod 400 CA.crt</p></blockquote>
</li>
</ul>
</li>
<li><strong>Obtain a CSR</strong><br />
<strong><em>ON THE IIS BOX&#8230;</em></strong></p>
<ul>
<li>Open the Internet Manager</li>
<li>Select the site for which you want to create a key</li>
<li>Right-click and choose Properties</li>
<li>Select the &#8220;Directory Security&#8221; tab</li>
<li>Click the &#8220;Server Certificate&#8221; button</li>
<li>Follow the prompts to create a CSR</li>
<li>Save your CSR, then transfer it to the Linux box for further processing. (For the following steps, we&#8217;ll refer to your CSR as &#8220;new.csr&#8221;)</li>
</ul>
</li>
<li><strong>Sign the CSR</strong><br />
<strong><em>ON THE LINUX BOX&#8230;</em></strong></p>
<ul>
<li>Sign the CSR (all of this on one line)<br />
<blockquote><p>openssl x509 -req -days 365 -in new.csr -CA CA.crt<br />
-CAkey CA.key -CAcreateserial -out new.crt</p></blockquote>
</li>
<li>Transfer the new.crt file back to the IIS box</li>
</ul>
</li>
<li><strong>Install self-signed certificate</strong><br />
<strong><em>ON THE IIS BOX&#8230;</em></strong></p>
<ul>
<li>Open the Internet Manager</li>
<li>Select the site to install the key</li>
<li>Right-click and choose properties</li>
<li>Select the &#8220;Directory Security&#8221; tab</li>
<li>Click the &#8220;Server Certificate&#8221; button</li>
<li>Specify that you want to complete the pending request</li>
<li>Select the .crt file that you just transferred</li>
</ul>
</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.philhunter.com/2008/04/16/self-signed-iis-ssl-certificates-using-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
