<?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>Eaglan&#039;s blog</title>
	<atom:link href="http://www.eaglankurek.be/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.eaglankurek.be</link>
	<description>My view on technology, fun, life and beyond</description>
	<lastBuildDate>Mon, 30 Jan 2012 14:03:58 +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>Changing the server certificate on Citrix AppController</title>
		<link>http://www.eaglankurek.be/index.php/2012/01/changing-the-server-certificate-on-citrix-appcontroller/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=changing-the-server-certificate-on-citrix-appcontroller</link>
		<comments>http://www.eaglankurek.be/index.php/2012/01/changing-the-server-certificate-on-citrix-appcontroller/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 12:48:29 +0000</pubDate>
		<dc:creator>Eaglan</dc:creator>
				<category><![CDATA[Server Based Computing]]></category>

		<guid isPermaLink="false">http://www.eaglankurek.be/?p=31</guid>
		<description><![CDATA[Not so long ago I set up the new Citrix AppController (part of the new Citrix Cloud Gateway Enterprise) in a test environment to get to know the product a little better. Setting up the server wasn&#8217;t too much of an &#8230; <a href="http://www.eaglankurek.be/index.php/2012/01/changing-the-server-certificate-on-citrix-appcontroller/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Not so long ago I set up the new Citrix AppController (part of the new Citrix Cloud Gateway Enterprise) in a test environment to get to know the product a little better. Setting up the server wasn&#8217;t too much of an hassle, albeit not much <a href="http://support.citrix.com/proddocs/topic/cloudgateway/clg-appc-landing-page-con.html" target="_blank">documentation</a> is available. I successfully added some web applications, and SSO worked.</p>
<p>What did annoy me however that I still got the red address bar in my browser, indicating that the website is insecure. By default, the AppController uses a self-signed certificate &#8211; which is, ofcourse, untrusted. So there are two ways to solve this; the simplest one is just to trust the self-signed cert by importing it. The other is to create an official certificate to be used. The problem is that the documentation on edocs.citrix.com is flawed, and will not work. So I had to figure it out myself. That&#8217;s what this post is about.</p>
<p>I&#8217;m not going to elaborate on how certificates work, I assume you have some working knowledge on the matter. To create the certificate we follow three steps:</p>
<h2>Create a certificate request for the FQDN you&#8217;ll be using for the AppController</h2>
<ol>
<li>Log on to the console of the AppController (eg with Putty)</li>
<li>Remove the current private key<br />
<code>sudo keytool -delete<br />
-alias tomcat -storepass changeit -keystore /root/.keystore</code></li>
<li>Create a new key<br />
<code>sudo /usr/java/jdk1.6.0_21/bin/keytool -keysize 2048 -genkey -alias tomcat -keyalg RSA -storepass changeit -keystore /root/.keystore</code><br />
You&#8217;ll be asked to fill in the details for the cert request. <strong>Important:</strong> When asked for &#8220;What is your first and last name?&#8221; enter the FQDN of the AppController, not your real first and last name!</li>
</ol>
<h2>Request a certificate from your Certificate Authority</h2>
<ol>
<li>Create a certificate request<br />
<code>sudo /usr/java/jdk1.6.0_21/bin/keytool -certreq -keyalg RSA -alias tomcat -file /home/admin/certreq.csr -storepass changeit -keystore /root/.keystore</code></li>
<li>Use a SCP client, like WinSCP, to download the certificate request (/home/admin/certreq.csr) from the AppController onto your PC.</li>
<li>Use the certificate request (it&#8217;s formatted in Base64 BTW) to request a certificate from your CA (your enterprise CA or a public CA). Download the certificate in PEM/Base64 format.</li>
</ol>
<h2>Installing the certificate</h2>
<ol>
<li>Upload the certificate chain (make sure they&#8217;re all in PEM/Base64) to the AppController. Do this again with your SCP client. Upload the certificates to /home/admin/</li>
<li>Import the root and intermediate certificates with<br />
<code>sudo /usr/java/jdk1.6.0_21/bin/keytool -import -trustcacerts -alias root -file /home/admin/&lt;root certificate&gt; -storepass changeit -keystore /root/.keystore</code></li>
<li>Finally, import the server certificate:<br />
<code>sudo /usr/java/jdk1.6.0_21/bin/keytool -import -trustcacerts -alias tomcat -file /home/admin/&lt;certificate&gt; -storepass changeit -keystore /root/.keystore</code></li>
<li>Reboot</li>
</ol>
<p>There, now you have that nice white or green address bar <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.eaglankurek.be/index.php/2012/01/changing-the-server-certificate-on-citrix-appcontroller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Editing Farm Policies using the XenDesktop 5 SDK</title>
		<link>http://www.eaglankurek.be/index.php/2011/08/editing-farm-policies-using-the-xendesktop-5-sdk/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=editing-farm-policies-using-the-xendesktop-5-sdk</link>
		<comments>http://www.eaglankurek.be/index.php/2011/08/editing-farm-policies-using-the-xendesktop-5-sdk/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 08:57:03 +0000</pubDate>
		<dc:creator>Eaglan</dc:creator>
				<category><![CDATA[Server Based Computing]]></category>
		<category><![CDATA[group policy]]></category>
		<category><![CDATA[powershell]]></category>
		<category><![CDATA[xendesktop]]></category>

		<guid isPermaLink="false">http://www.eaglankurek.be/?p=22</guid>
		<description><![CDATA[Editing the XenDesktop Farm policies with PowerShell is not that hard, if you know how. I couldn&#8217;t find much, if any, documentation about the subject (only some for XenApp 6), so here&#8217;s a quick how to: First, you start with adding &#8230; <a href="http://www.eaglankurek.be/index.php/2011/08/editing-farm-policies-using-the-xendesktop-5-sdk/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Editing the XenDesktop Farm policies with PowerShell is not that hard, <em>if you know how</em>. I couldn&#8217;t find much, if any, documentation about the subject (only some for XenApp 6), so here&#8217;s a quick how to:</p>
<p>First, you start with adding the necessary Citrix PowerShell modules with (you perform this on a XD Controller on another machine with the XenDesktop SDK installed):</p>
<pre>Add-PSSnapin Citrix.*</pre>
<p>For convenience, we&#8217;re going to map the XDFarm policies to a drive, so we can browse it easily:</p>
<pre>New-PSDrive XDFarm -root \ -PSProvider CitrixGroupPolicy -Controller &lt;FQDN of a XD Controller&gt;</pre>
<p>From there you can browse the XD Farm policies easily:</p>
<pre>Set-Location XDFarm:\
PS XDFarm:\&gt; Get-ChildItem
User
Computer</pre>
<p>If, for example, you would like to add multiple session printers to the Unfiltered User policy you would perform the following:</p>
<pre>Set-ItemProperty XDFarm:\User\Unfiltered\Settings\ICA\printing\SessionPrinters
-name Values
-value @("&lt;pathA&gt;,model=&lt;modelA&gt;,location=&lt;locationA&gt;","&lt;pathB&gt;,model=&lt;modelB&gt;,location=&lt;locationB&gt;")</pre>
<p>So, there you have it <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Do note that you&#8217;re working with an in-memory version of the CitrixGroupPolicy object. That means that if you change settings in the Citrix Desktop Studio, this won&#8217;t be reflected in the current instance. Changes that you make however will be automatically written back to the XenDesktop database.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eaglankurek.be/index.php/2011/08/editing-farm-policies-using-the-xendesktop-5-sdk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Controlling information</title>
		<link>http://www.eaglankurek.be/index.php/2011/07/controlling-information/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=controlling-information</link>
		<comments>http://www.eaglankurek.be/index.php/2011/07/controlling-information/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 14:01:00 +0000</pubDate>
		<dc:creator>Eaglan</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[google+]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.eaglankurek.be/?p=18</guid>
		<description><![CDATA[I&#8217;m putting some more time in to properly set up my blog. Things yet to do is create an own theme&#8230; and well, create more blogposts One important thing is how to control information in the world of Twitter&#8217;s, Facebook&#8217;s &#8230; <a href="http://www.eaglankurek.be/index.php/2011/07/controlling-information/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m putting some more time in to properly set up my blog. Things yet to do is create an own theme&#8230; and well, create more blogposts <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>One important thing is how to control information in the world of Twitter&#8217;s, Facebook&#8217;s and Google +&#8217;s of this world. As you know, these services rise and fall, and when they fall, your content does too. Then there&#8217;s obviously features that are redundantly provided by many of such services, like giving a status update. What&#8217;s also annoying is that you need to update each and every service (why are you using them otherwise?) and that becomes a chore quickly.</p>
<p>So what I&#8217;m about to do, is to centralize everything in my personal WordPress blog. It&#8217;s hosted by myself, so it&#8217;s my content and I can do anything I&#8217;d like to do with it. And to make life easier, I&#8217;m going to use the <a title="Twitter Tools" href="http://crowdfavorite.com/wordpress/plugins/twitter-tools/" target="_blank">Twitter Tools</a> plug-in to automatically tweet updates. In Facebook, I&#8217;ve integrated the Twitter app, so tweets should also show up as Facebook update. So yeah, it&#8217;s kind of experimental <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Let&#8217;s see how this works out&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eaglankurek.be/index.php/2011/07/controlling-information/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Client Drive Mapping failing</title>
		<link>http://www.eaglankurek.be/index.php/2011/07/client-drive-mapping-failing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=client-drive-mapping-failing</link>
		<comments>http://www.eaglankurek.be/index.php/2011/07/client-drive-mapping-failing/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 10:22:54 +0000</pubDate>
		<dc:creator>Eaglan</dc:creator>
				<category><![CDATA[Server Based Computing]]></category>

		<guid isPermaLink="false">http://www.eaglankurek.be/?p=13</guid>
		<description><![CDATA[A collegue of mine had troubles getting Client Drive Mapping (CDM) to work with his new Citrix XenApp 6.5 environment. So I checked the regular stuff; Is CDM policy configured? Correctly applied? (Yep) Are no group policies configured which might be blocking &#8230; <a href="http://www.eaglankurek.be/index.php/2011/07/client-drive-mapping-failing/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A collegue of mine had troubles getting Client Drive Mapping (CDM) to work with his new Citrix XenApp 6.5 environment. So I checked the regular stuff;</p>
<ul>
<li>Is CDM policy configured? Correctly applied? (Yep)</li>
<li>Are no group policies configured which might be blocking CDM? (Nope)</li>
<li>Is CDM blocked on the ICA-tcp protocol? (Nope)</li>
<li>Is CDM working over RDP? (Yep)</li>
</ul>
<p>Well, all seemed to be configured correctly. Since XenApp 6.5 is (at this time of writing) a Technical Preview, I almost filed it as a bug.</p>
<p>For a last attempt I turned to <a href="http://support.citrix.com/article/CTX238200" target="_blank">CTX238200 &#8211; Troubleshooting Client Drive Mapping</a>. I verified all points meticulously until I got to point 7:</p>
<blockquote><p>7. Ensure that Client Network is visible under Network Neighborhood. If it is not, follow the steps listed below:<br />
a. Start Registry Editor (Regedt32.exe) and go to the following key:</p>
<p>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order<br />
The<br />
value for ProviderOrder contained only LanmanWorkstation.<br />
Add CdmService, so<br />
that the Value now reads &#8220;CdmService,LanmanWorkstation.&#8221;</p>
<p>b. For Presentation Server 4.5, ensure the path defined under the<br />
CommonFilesDir value from<br />
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion is<br />
correct.</p>
<p>c. Restart the server</p></blockquote>
<p style="margin-right: 0px;">So I checked HKLM\SYSTEM\CurrentControlSet\Control\NetworkProvider\Order, and found no CdmService, only LanManWorkstation. Hey, that could be it! So I put CdmService in there, but unfortunately, after a reboot, the drives still weren&#8217;t mapped. I turned to another environment I&#8217;ve setup at another customer with XenApp 6, where I knew that CDM was working fine. So I checked the Order value there:</p>
<p style="margin-right: 0px;"><a href="http://www.eaglankurek.be/wp-content/uploads/2011/07/PICAClientNetwork.png"><img class="aligncenter size-medium wp-image-15" title="PICAClientNetwork" src="http://www.eaglankurek.be/wp-content/uploads/2011/07/PICAClientNetwork-300x40.png" alt="Order key" width="300" height="40" /></a></p>
<p style="margin-right: 0px;">Hmm, <strong>PICAClientNetwork</strong> looks interesting. And lo and behold, with PICAClientNetwork in the Order key (and rebooting), CDM worked!</p>
<p style="margin-right: 0px;">So next time, you have troubles with CDM on XenApp 6(.5) and all seems to be configured well, don&#8217;t forget this one <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.eaglankurek.be/index.php/2011/07/client-drive-mapping-failing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My first post</title>
		<link>http://www.eaglankurek.be/index.php/2009/10/my-first-post/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=my-first-post</link>
		<comments>http://www.eaglankurek.be/index.php/2009/10/my-first-post/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 20:28:37 +0000</pubDate>
		<dc:creator>Eaglan</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.eaglankurek.be/?p=6</guid>
		<description><![CDATA[Well, I&#8217;ve just installed WordPress… now to think about something to write Hmm, that&#8217;ll be for tomorrow.]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve just installed WordPress… now to think about something to write <img src='http://www.eaglankurek.be/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Hmm, that&#8217;ll be for tomorrow.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.eaglankurek.be/index.php/2009/10/my-first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

