{"id":307,"date":"2009-07-07T15:27:52","date_gmt":"2009-07-07T20:27:52","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=307"},"modified":"2009-07-07T15:27:52","modified_gmt":"2009-07-07T20:27:52","slug":"install-certificates-on-pdamobile-devices","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2009\/07\/install-certificates-on-pdamobile-devices\/","title":{"rendered":"Install Certificates On PDA\/Mobile Devices"},"content":{"rendered":"<p>Time to get a Windows Mobile device connected to the Exchange server with Self-Signed certificate?  30 minutes from start to finish.<br \/>\nTime to get a Blackberry Device connected to the BES server?  Assume the BES is setup correctly, then less than 5 minutes.<br \/>\nTime to get an iPhone Device connected to the Exchange server with Self-Signed certificate?  Typically less than 5 minutes.<\/p>\n<p>But I sometimes have to go to a foreign environment and put Windows Mobile devices onto someone&#8217;s Exchange server.<br \/>\nHere&#8217;s the fix to install the root certificate on the Windows Mobile device:<\/p>\n<p>Open up the webmail.  In this case it&#8217;s https:\/\/mail.companyname.tld\/owa<br \/>\nAccept the invalid certificate<br \/>\nClick on the Untrusted Certificate Lock and view the available certificates<br \/>\nClick on the Details Tab, and then click on the Copy To File&#8230; button<\/p>\n<blockquote><p>This now opens up the Certificate Export Wizard<br \/>\nClick Next<br \/>\nChange the format to Base-64 encoded X.509 (.CER) and click Next<br \/>\nMake a name for your file (I hit browse and named it &#8220;certificate&#8221;)<br \/>\nClick Next and then Finish<br \/>\nYou should see an &#8220;The export was successful&#8221;.  If not, then you did something wrong.<\/p><\/blockquote>\n<p>Now the fun part &#8211; creating an XML file with this information.<\/p>\n<blockquote><p>Open up the Command Prompt (start, run, cmd)<br \/>\nChange the directory to where you saved the .CER file<br \/>\n<code>type certificate.cer<\/code><\/p><\/blockquote>\n<p>You should see a bunch of characters that begin with &#8212;&#8211;BEGIN CERTIFICATE&#8212;&#8211; and end with &#8212;&#8211;END CERTIFICATE&#8212;&#8211;.<br \/>\nWe&#8217;re interested in the text BETWEEN those.  Right-click and select Mark, then select all the characters between the begin and end.  Then right-click again to copy it (if it deselects you&#8217;ve copied).<\/p>\n<p>Right-Click on your desktop and create a new text file with the name _setup.xml.  Paste the following in there:<\/p>\n<blockquote><p>&lt;wap-provisioningdoc&gt;<br \/>\n&lt;characteristic type=&#8221;CertificateStore&#8221;&gt;<br \/>\n&lt;characteristic type=&#8221;ROOT&#8221; &gt;<br \/>\n&lt;characteristic type=&#8221;97817950d81c9670cc34d809cf794431367ef474&#8243;&gt;<br \/>\n&lt;parm name=&#8221;EncodedCertificate&#8221; value=&#8221;<br \/>\nMIICWjCCAc6CAgGlMA0GCSqGSIb3DQEBBAUAMHUxCzA6BgNVBAYTAlVTMRgwFgYD<br \/>\nVQQKEw9HVuUgQ29ycG9yYXRpb24xJzAlBgNVBAsTHkdURSBDeWJlclRydXN0IFNv<br \/>\nbHV0aW9ucywgSW5jLjEjMCEGA1UEAxMaR1RFIEN5YmVyVH61c3QgR2xvYmFsIFJv<br \/>\nb6QwHhcNOTgwODEzMDAyOTAwWhcNMTgwODEzMjM1uTAwWjB1MQswCQYDVQQGEwJV<br \/>\nUzEYMBYGA1UEChuPR1RFIENvcnBvcmF0aW96MScwJQYD6QQLEx5HVEUgQ3liZXJU<br \/>\ncnVzdC6b2x1dGlvbnMsIEluYy4xIzAhugNVBAMTGkdURSBDeWJlclRydXN0IEds<br \/>\nb2JhbCBSb290MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCuD6C28FCc6HrH<br \/>\niM3dFw4usJTQGz0u9pTAipTHBsiQl8i4ZBp6fmw8U+E3KHNgf76XUwefU\/ltWJTS<br \/>\nr41tiGeA5u2ylc9yMcqlHHK6XALnZELn+aks1joNrI1CqiQBOeacPwGFVw1Yh0X4<br \/>\n04Wqk2kmhXBIgD8SFcd5tB8FLztimQIDAQABMA0GCSqGSIb3DQEBBAUAA4GBAG3r<br \/>\nGwnpXtlR22ciuaQqPEh346B8pt5zohQDhT37qw4wxYMWM4ETCJ57NE7fQMh017l9<br \/>\n3Pu2VX2bY1QY6fDq81yx2YtCHrnAlU66+tXifPVoYb+O7A6X1uw16OFNMQkpw0P<br \/>\nlZPvy5TYnh+dXIVtx6qufd8itc2VrbqnzPmrC3p\/&#8221;\/&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/wap-provisioningdoc&gt;<\/p><\/blockquote>\n<p>Now in your command window again:<br \/>\n<code>makecab _setup.xml rootcert.cab<\/code><\/p>\n<p>And you&#8217;re done!  Besides copying this file over to your Windows Mobile device and then opening it so it&#8217;ll install, but those are just details anyway.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Time to get a Windows Mobile device connected to the Exchange server with Self-Signed certificate? 30 minutes from start to finish. Time to get a Blackberry Device connected to the BES server? Assume the BES is setup correctly, then less than 5 minutes. Time to get an iPhone Device connected to the Exchange server with &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2009\/07\/install-certificates-on-pdamobile-devices\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install Certificates On PDA\/Mobile Devices<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-microsoft"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":2,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":309,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/307\/revisions\/309"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}