<?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>Rogierm&#039;s Blog &#187; mac</title>
	<atom:link href="http://rogierm.redbee.nl/blog/category/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://rogierm.redbee.nl/blog</link>
	<description>Just another blog with technical stuff</description>
	<lastBuildDate>Mon, 09 Jan 2012 16:15:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Cisco IPSec VPN with certificates in OSX Lion</title>
		<link>http://rogierm.redbee.nl/blog/2011/10/31/cisco-ipsec-vpn-with-certificates-in-osx-lion/</link>
		<comments>http://rogierm.redbee.nl/blog/2011/10/31/cisco-ipsec-vpn-with-certificates-in-osx-lion/#comments</comments>
		<pubDate>Mon, 31 Oct 2011 13:13:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[lion]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=231</guid>
		<description><![CDATA[Since the Cisco VPN client does not work under OSX Lion anymore there was no easy way to connect with certificate authentication. It took some time but I managed to get it working under Lion with the build in VPN Client. Find the steps below to get the certificates imported and working with the VPN [...]]]></description>
			<content:encoded><![CDATA[<p>Since the Cisco VPN client does not work under OSX Lion anymore there was no easy way to connect with certificate authentication. It took some time but I managed to get it working under Lion with the build in VPN Client. Find the steps below to get the certificates imported and working with the VPN Client. </p>
<ul>
<li>Create key: openssl genrsa -des3 -out vpn-cert2.key 1024</li>
<li>Create CSR (make sure that the CN is a simple name, no spaces or special characters): openssl req -new -key vpn-cert2.key -out vpn-cert2.csr</li>
<li>Request certificate with your CA</li>
<li>Create a p12 file from the key and the certificate: openssl pkcs12 -export -inkey vpn-cert2.key -in certnew-3.cer -out vpn.p12</li>
<li>Import the p12 file (containing the key and certificate) in the system keychain (not the login keychain, that doesn&#8217;t work): sudo security import vpn.p12 -k /Library/Keychains/System.keychain</li>
<li>If needed you can import the CA in your keychain and trust the imported certificate:  sudo security add-trusted-cert -k /Library/Keychains/System.keychain root.ca.pem<BR><strong>Note:</strong>Make sure that if you import your own CA, that you do it this way. Otherwise the VPN server certificate will not be verified correctly.</li>
</ul>
<p>To use the certificate for VPN authentication do the following:</p>
<ul>
<li>Open System Preferences</li>
<li>Go to Network</li>
<li>Click + to add network interface, Select Interface: VPN, VPN Type: Cisco IPSec</li>
<li>Click Create</li>
<li>In the Server Address type the hostname of the firewall. This is really important. The firewall has a certificate configured on the FQDN. Make sure the server address is the name of the certificate in the firewall. This FQDN can be found in the trustpoint configuration (see below)</li>
<li>Enter the username</li>
<li>Click Authentication Settings</li>
<li>Select Certificate and Click Select</li>
<li>Select the correct certificate that you just imported</li>
<li>Click OK</li>
<li>Click Apply</li>
</ul>
<p>When you are not able to select the certificate you created the problem is that the CN is not supported. Make sure the CN that you used to create the CSR does not contain spaces or special characters. </p>
<p>Firewall trustpoint config:<br />
<code><br />
crypto ca trustpoint CA1<br />
 enrollment terminal<br />
 fqdn fw.xxxx.com<br />
 subject-name CN=fw.xxxx.com,OU=IT,O=XXX Limited,C=NL,St=NH,L=Amsterdam<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2011/10/31/cisco-ipsec-vpn-with-certificates-in-osx-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to eject CD in Mac OSX from command line</title>
		<link>http://rogierm.redbee.nl/blog/2010/04/05/how-to-eject-cd-in-mac-osx-from-command-lineope/</link>
		<comments>http://rogierm.redbee.nl/blog/2010/04/05/how-to-eject-cd-in-mac-osx-from-command-lineope/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 21:34:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=140</guid>
		<description><![CDATA[Open Terminal Enter the following command:$ drutil eject]]></description>
			<content:encoded><![CDATA[<ol>
<li>Open Terminal</li>
<li>Enter the following command:<code>$ drutil eject</code></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2010/04/05/how-to-eject-cd-in-mac-osx-from-command-lineope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping two iTunes libraries in sync</title>
		<link>http://rogierm.redbee.nl/blog/2009/12/27/keeping-two-itunes-libraries-in-sync/</link>
		<comments>http://rogierm.redbee.nl/blog/2009/12/27/keeping-two-itunes-libraries-in-sync/#comments</comments>
		<pubDate>Sun, 27 Dec 2009 20:58:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[mac]]></category>
		<category><![CDATA[iTunes]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[synchronize]]></category>

		<guid isPermaLink="false">http://rogierm.redbee.nl/blog/?p=93</guid>
		<description><![CDATA[I use a MacBook Pro for daily use and have a Mac Mini as my media center. While iTunes has a lot of great functions (I love Genius), it does not have a simple way to have to standalone iTunes libraries and sync songs between the two. Sure you can share the music while you&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p>I use a MacBook Pro for daily use and have a Mac Mini as my media center. While iTunes has a lot of great functions (I love Genius), it does not have a simple way to have to standalone iTunes libraries and sync songs between the two. Sure you can share the music while you&#8217;re on the same LAN, or  over the Internet (eg. http://www.simplifymedia.com/index.html), it does not have a simple function to synchronize a library between two computers. The following article describes how to use rsync to keep two libraries exactly the same. </p>
<p>http://guides.macrumors.com/Keeping_2_iTunes_Libraries_in_Sync</p>
<p>I found a second way to synchronize the songs that were missing on the  iTunes library on my MacMini from the iTunes library on my MacBook.  I used the following steps:</p>
<ol>
<li>Share the iTunes folder on the source (/Users/username/Music/iTunes)</li>
<li>Mount the iTunes folder on the destination</li>
<li>Open iTunes and select the &#8216;Add to Library&#8217; option</li>
<li>Select the mounted iTunes folder </li>
</ol>
<p>iTunes now automatically selects the missing songs and add them locally to the library. This may take some time.</p>
]]></content:encoded>
			<wfw:commentRss>http://rogierm.redbee.nl/blog/2009/12/27/keeping-two-itunes-libraries-in-sync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

