<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Sinking Our Teeth Into SCEP</title>
	<atom:link href="http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/feed/" rel="self" type="application/rss+xml" />
	<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/</link>
	<description>place of the mobility way</description>
	<lastBuildDate>Fri, 11 May 2012 10:49:18 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Paul</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18587</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Tue, 28 Feb 2012 22:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18587</guid>
		<description>So Chris

Would you please summarize the steps it took to create the profile on the Mac and how you linked the SCEP part to he EAS part?  I am looking to completely automate this for a large number of OS X machines using Apple&#039;s /usr/bin/profiles tool.

TIA!</description>
		<content:encoded><![CDATA[<p>So Chris</p>
<p>Would you please summarize the steps it took to create the profile on the Mac and how you linked the SCEP part to he EAS part?  I am looking to completely automate this for a large number of OS X machines using Apple&#8217;s /usr/bin/profiles tool.</p>
<p>TIA!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18543</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 23 Jan 2012 12:22:02 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18543</guid>
		<description>Well, that did work :-)
I have used a Mac to create the profile and was able to link the SCEP part to the EAS part. The SCEP services is now issuing certificates which can be used for 802.x and EAS. Works like a charm. Thx a lot for the hint :-)
The part where I tried to store the iPhone&#039;s private key in the CA&#039;s DB didn&#039;t work out, as the device is refusing to send the private part of the key. The SCEP server was showing a message stating the operation had failed due to a missing private part of the key.</description>
		<content:encoded><![CDATA[<p>Well, that did work <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
I have used a Mac to create the profile and was able to link the SCEP part to the EAS part. The SCEP services is now issuing certificates which can be used for 802.x and EAS. Works like a charm. Thx a lot for the hint <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
The part where I tried to store the iPhone&#8217;s private key in the CA&#8217;s DB didn&#8217;t work out, as the device is refusing to send the private part of the key. The SCEP server was showing a message stating the operation had failed due to a missing private part of the key.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18522</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Sun, 15 Jan 2012 10:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18522</guid>
		<description>I noticed an interesting thing yesterday with iPCU. If you create a SCEP payload, and then create an Exchange payload you can actually select that the identity provided by SCEP will be used in the Exchange payload.
But this seems to only apply for the OSX version of iPCU...
If you have access to a Mac that would kind of be a solution. (You could at least verify a correct .mobileconfig that way.)</description>
		<content:encoded><![CDATA[<p>I noticed an interesting thing yesterday with iPCU. If you create a SCEP payload, and then create an Exchange payload you can actually select that the identity provided by SCEP will be used in the Exchange payload.<br />
But this seems to only apply for the OSX version of iPCU&#8230;<br />
If you have access to a Mac that would kind of be a solution. (You could at least verify a correct .mobileconfig that way.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18518</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 12 Jan 2012 14:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18518</guid>
		<description>I did some more digging and it seems that I need to configure the CA for key archival and designate a trusted user to be able to recover private keys. If that works out, I should be able to obtain the private part of the SCEP certificate and include it in the .mobileconfig file...</description>
		<content:encoded><![CDATA[<p>I did some more digging and it seems that I need to configure the CA for key archival and designate a trusted user to be able to recover private keys. If that works out, I should be able to obtain the private part of the SCEP certificate and include it in the .mobileconfig file&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18517</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Thu, 12 Jan 2012 11:17:15 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18517</guid>
		<description>Hi Andreas,

thx for the answer.

I&#039;ve checked the Apple documentation &quot;iOS Configuration Profile Reference&quot; in regards to the PayloadCertificateUUID and did a little messing around with a .mobileconfig 
file. It turns out that what I did describe in my first posting (quote: The trick seems to be to have a private key included in the .mobileconfig file and specify this one 
as the one to be used with EAS.) is exactly what this PayloadCertificateUUID referencing part does. As soon as I configure the certificate section in the iPCU to include a 
private key, a PayloadCertificateUUID is listed in that particular part of the xml code. The next step is to configure the Exchange-ActiveSync part of this config file 
(option: identity certificate - data for connection with ActiveSync). Selecting the same private key from the previous step, adds the same PayloadCertificateUUID to the 
ActiveSync part of the xml code. Thus, the issue remains because I would need to get the private key off of the device to include it in the .mobileconfig file to be able to link this PayloadCertificateUUID.

What you are describing for Afaria (quote: you can either attach an existing certificate or request a new cert through SCEP. Which means you’ll have one SCEP identity in general for MDM, and another for EAS) got me thinking. Doesn&#039;t that mean that the Afaria system is managing the private part of the key? How else would they be able to do the PayloadCertificateUUID referencing part described above? Is the Afaria system generating the certificate request and passes the private key on to the device? How does 
that impact the security of the private key?

I&#039;ll get the Apple documentation for MDM solutions and have a read. Maybe that&#039;ll sched some more light :-)</description>
		<content:encoded><![CDATA[<p>Hi Andreas,</p>
<p>thx for the answer.</p>
<p>I&#8217;ve checked the Apple documentation &#8220;iOS Configuration Profile Reference&#8221; in regards to the PayloadCertificateUUID and did a little messing around with a .mobileconfig<br />
file. It turns out that what I did describe in my first posting (quote: The trick seems to be to have a private key included in the .mobileconfig file and specify this one<br />
as the one to be used with EAS.) is exactly what this PayloadCertificateUUID referencing part does. As soon as I configure the certificate section in the iPCU to include a<br />
private key, a PayloadCertificateUUID is listed in that particular part of the xml code. The next step is to configure the Exchange-ActiveSync part of this config file<br />
(option: identity certificate &#8211; data for connection with ActiveSync). Selecting the same private key from the previous step, adds the same PayloadCertificateUUID to the<br />
ActiveSync part of the xml code. Thus, the issue remains because I would need to get the private key off of the device to include it in the .mobileconfig file to be able to link this PayloadCertificateUUID.</p>
<p>What you are describing for Afaria (quote: you can either attach an existing certificate or request a new cert through SCEP. Which means you’ll have one SCEP identity in general for MDM, and another for EAS) got me thinking. Doesn&#8217;t that mean that the Afaria system is managing the private part of the key? How else would they be able to do the PayloadCertificateUUID referencing part described above? Is the Afaria system generating the certificate request and passes the private key on to the device? How does<br />
that impact the security of the private key?</p>
<p>I&#8217;ll get the Apple documentation for MDM solutions and have a read. Maybe that&#8217;ll sched some more light <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18509</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Sat, 07 Jan 2012 16:18:12 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18509</guid>
		<description>Hi Chris,

It&#039;s an interesting scenario to attach the SCEP certs to the EAS profile, although I haven&#039;t really gotten around to testing it.

The configuration profile reference state that to attach a certificate to an Exchange payload you need to either attach the certificate as a blob (the contents of a pfx/p12-file) thus including the private key. Alternatively you can use the PayloadCertificateUUID key to reference an identity. I have not checked if there&#039;s a way through iPCU to fetch the UUID required. If you can fetch this UUID you could build a complete EAS profile. Needless to say it would be messy to do mass deployments this way :)

Using Afaria as a reference implementation, when you build an EAS profile and want to use certificates you can either attach an existing certificate or request a new cert through SCEP. Which means you&#039;ll have one SCEP identity in general for MDM, and another for EAS. Not knowing the profiles being built behind the scenes I don&#039;t know the details, but I&#039;m guessing it&#039;s done this way for a reason.

I don&#039;t know if you&#039;re trying to build it the manual way just for learning purposes, but ready made MDM solutions are easier :) iPCU doesn&#039;t expose everything the .mobileconfig and .provision files can do as some of it is intended to only do in MDM scenarios where you have a server component controlling parts of the process.</description>
		<content:encoded><![CDATA[<p>Hi Chris,</p>
<p>It&#8217;s an interesting scenario to attach the SCEP certs to the EAS profile, although I haven&#8217;t really gotten around to testing it.</p>
<p>The configuration profile reference state that to attach a certificate to an Exchange payload you need to either attach the certificate as a blob (the contents of a pfx/p12-file) thus including the private key. Alternatively you can use the PayloadCertificateUUID key to reference an identity. I have not checked if there&#8217;s a way through iPCU to fetch the UUID required. If you can fetch this UUID you could build a complete EAS profile. Needless to say it would be messy to do mass deployments this way <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Using Afaria as a reference implementation, when you build an EAS profile and want to use certificates you can either attach an existing certificate or request a new cert through SCEP. Which means you&#8217;ll have one SCEP identity in general for MDM, and another for EAS. Not knowing the profiles being built behind the scenes I don&#8217;t know the details, but I&#8217;m guessing it&#8217;s done this way for a reason.</p>
<p>I don&#8217;t know if you&#8217;re trying to build it the manual way just for learning purposes, but ready made MDM solutions are easier <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  iPCU doesn&#8217;t expose everything the .mobileconfig and .provision files can do as some of it is intended to only do in MDM scenarios where you have a server component controlling parts of the process.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18505</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Thu, 05 Jan 2012 12:00:52 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18505</guid>
		<description>Hi Andreas,

I have been reading your blog for a solution with EAS not talking to iPhone/iPad with a SCEP certificate. In my lab EAS denies communication with such devices and certificates.
My lab setup: all Win2008R2 SP1 Servers, Exchange 2010 SP1RU6, Enterprise CA with SCEP service configured and running and, iPhone4/iPad2 (both iOS5).
I have configured a .mobileconfig file using Apple&#039;s iPCU. It contains the link+dll for the SCEP server, the CA name, a x.500 name with O and CN defined, a valid challenge and both the signature and encryption options are ticked. I&#039;ve also included the Root CA and Intermediate CA certificates in the certificate section of the .mobileconfig file.
The profile installs fine, adding the root and intermediate certificates, generates a key, send the request to the ca and is issued a valid certificate. I then export this certificate and publish it in Active Directory for the user account.
I then setup an EAS account on the iPhone/iPad and configure it for the appropiate user. Communication with EAS fails with the message: ASHTTPConnectionErrorDomain error 403.
I&#039;ve already tried adding Clientauthentication, Secure Email and Encryption to the SCEP template. Still no good.
If I use a certificate issued on the base of the &quot;User&quot; template, include it in the .mobileconfig file, configure the EAS section with the appropiate details and then select the this user certificate to be used for the EAS communication, it all works like a charm.
The trick seems to be to have a private key included in the .mobileconfig file and specify this one as the one to be used with EAS. Using a SCEP certificate requested from the device does not work, as I cannot get the private key from the device into the iPCU on the PC.

Do you have any ideas or suggestions for me?
Thx a lot and sorry about the looong text :-)

Best regards
Chris</description>
		<content:encoded><![CDATA[<p>Hi Andreas,</p>
<p>I have been reading your blog for a solution with EAS not talking to iPhone/iPad with a SCEP certificate. In my lab EAS denies communication with such devices and certificates.<br />
My lab setup: all Win2008R2 SP1 Servers, Exchange 2010 SP1RU6, Enterprise CA with SCEP service configured and running and, iPhone4/iPad2 (both iOS5).<br />
I have configured a .mobileconfig file using Apple&#8217;s iPCU. It contains the link+dll for the SCEP server, the CA name, a x.500 name with O and CN defined, a valid challenge and both the signature and encryption options are ticked. I&#8217;ve also included the Root CA and Intermediate CA certificates in the certificate section of the .mobileconfig file.<br />
The profile installs fine, adding the root and intermediate certificates, generates a key, send the request to the ca and is issued a valid certificate. I then export this certificate and publish it in Active Directory for the user account.<br />
I then setup an EAS account on the iPhone/iPad and configure it for the appropiate user. Communication with EAS fails with the message: ASHTTPConnectionErrorDomain error 403.<br />
I&#8217;ve already tried adding Clientauthentication, Secure Email and Encryption to the SCEP template. Still no good.<br />
If I use a certificate issued on the base of the &#8220;User&#8221; template, include it in the .mobileconfig file, configure the EAS section with the appropiate details and then select the this user certificate to be used for the EAS communication, it all works like a charm.<br />
The trick seems to be to have a private key included in the .mobileconfig file and specify this one as the one to be used with EAS. Using a SCEP certificate requested from the device does not work, as I cannot get the private key from the device into the iPCU on the PC.</p>
<p>Do you have any ideas or suggestions for me?<br />
Thx a lot and sorry about the looong text <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Best regards<br />
Chris</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18464</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 21 Dec 2011 21:06:23 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18464</guid>
		<description>I don&#039;t think it&#039;s possible. iOS expects everything to be done in one session. If you interrupt the process before the device has received the certificate from the CA, it will start over again when restarting, and a new request will be created.
I have seen a solution (which I have not tested) in Sybase Afaria where you can install an extra dll on the CA. This dll sets up scep so only devices approved by Afaria can request certificates. It&#039;s not the same as having an admin approve each manually, but achieves the same end purpose (sort of). The problem with manually approving certs is that it&#039;s a process that doesn&#039;t really scale so well. Plus you need to have the ability to configure the common name so that the pending request actually tells you which device you&#039;re looking at.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think it&#8217;s possible. iOS expects everything to be done in one session. If you interrupt the process before the device has received the certificate from the CA, it will start over again when restarting, and a new request will be created.<br />
I have seen a solution (which I have not tested) in Sybase Afaria where you can install an extra dll on the CA. This dll sets up scep so only devices approved by Afaria can request certificates. It&#8217;s not the same as having an admin approve each manually, but achieves the same end purpose (sort of). The problem with manually approving certs is that it&#8217;s a process that doesn&#8217;t really scale so well. Plus you need to have the ability to configure the common name so that the pending request actually tells you which device you&#8217;re looking at.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ralph</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-18462</link>
		<dc:creator>Ralph</dc:creator>
		<pubDate>Tue, 20 Dec 2011 10:43:28 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-18462</guid>
		<description>Hey,

nice Articel! I have a problem, and perhaps you can help me..

I have a Windows Server 2008 Enterprise with NDES and an own Microsoft PKI. Everything works fine with configuration profiles and iOS devices.
Now it would be great if we can configure that a PKI admin must approve the certrequest from the mobile device. 
On the Microsoft PKI I have activated the checkbox in the certtemplate and if a mobile device wants to install the configuration profile a pending certrequest is created. After the PKI admin approve this request the cert is not &quot;sending&quot; to the mobile device. If the mobile device wants to install the configuration profile again a second request is created.
Thanks!</description>
		<content:encoded><![CDATA[<p>Hey,</p>
<p>nice Articel! I have a problem, and perhaps you can help me..</p>
<p>I have a Windows Server 2008 Enterprise with NDES and an own Microsoft PKI. Everything works fine with configuration profiles and iOS devices.<br />
Now it would be great if we can configure that a PKI admin must approve the certrequest from the mobile device.<br />
On the Microsoft PKI I have activated the checkbox in the certtemplate and if a mobile device wants to install the configuration profile a pending certrequest is created. After the PKI admin approve this request the cert is not &#8220;sending&#8221; to the mobile device. If the mobile device wants to install the configuration profile again a second request is created.<br />
Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://mobilitydojo.net/2010/01/20/sinking-our-teeth-into-scep/comment-page-1/#comment-17951</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Wed, 13 Jul 2011 19:22:57 +0000</pubDate>
		<guid isPermaLink="false">http://mobilitydojo.net/?p=951#comment-17951</guid>
		<description>Nice that there&#039;s a proper fix for this. (Even if only as a hotfix you need to request and not part of a regular update.) They don&#039;t mention any Apple products by name, but one suspects Microsoft have been tipped off as to how iOS handles the &quot;missing&quot; CA Caps :)</description>
		<content:encoded><![CDATA[<p>Nice that there&#8217;s a proper fix for this. (Even if only as a hotfix you need to request and not part of a regular update.) They don&#8217;t mention any Apple products by name, but one suspects Microsoft have been tipped off as to how iOS handles the &#8220;missing&#8221; CA Caps <img src='http://mobilitydojo.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>

