{"id":10,"date":"2020-11-09T14:17:22","date_gmt":"2020-11-09T19:17:22","guid":{"rendered":"http:\/\/blogs.thesslstore.com\/?p=10"},"modified":"2024-05-20T16:36:04","modified_gmt":"2024-05-20T20:36:04","slug":"how-to-add-your-own-root-cert-via-cab-file","status":"publish","type":"post","link":"https:\/\/www.thesslstore.com\/blog\/how-to-add-your-own-root-cert-via-cab-file\/","title":{"rendered":"How to add your own root cert via CAB file"},"content":{"rendered":"<p>This post will explain how to install a root cert on a one tier device via a CAB file. You need to install root cert via CAB file for many tier one mobile. You may need to install certs with Exchange ActiveSync. This method will work for any one-tier prompt device, including the Treo 700W and Motorola Q.<\/p>\n<p>Open up the cert in explorer. You can do this by double clicking the .cer file, using the MMC snapin, or clicking through the SSL lock UI in IE.<\/p>\n<span style=\"--tl-form-height-m:150.25px;--tl-form-height-t:121.4583px;--tl-form-height-d:121.4583px;\" class=\"tl-placeholder-f-type-shortcode_12753 tl-preload-form\"><span><\/span><\/span>\n<p>If this is a certificate chain, then examine the root cert. <span style=\"color: #ff0000;\"><strong>adding the leaf cert to the root store will not work.<\/strong><\/span><\/p>\n<p>Look at the thumbprint of the certificate. Save this string because you will need it later.<\/p>\n<figure id=\"attachment_11\" aria-describedby=\"caption-attachment-11\" style=\"width: 326px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-11  \" title=\"sslcertificate\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/sslcertificate.jpg\" alt=\"sslcertificate\" width=\"326\" height=\"400\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/sslcertificate.jpg 326w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/sslcertificate-244x300.jpg 244w\" sizes=\"auto, (max-width: 326px) 100vw, 326px\" \/><figcaption id=\"caption-attachment-11\" class=\"wp-caption-text\">sslcertificate<\/figcaption><\/figure>\n<figure id=\"attachment_12\" aria-describedby=\"caption-attachment-12\" style=\"width: 323px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-12  \" title=\"ssl-certificate\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate.jpg\" alt=\"ssl-certificate\" width=\"323\" height=\"400\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate.jpg 323w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate-242x300.jpg 242w\" sizes=\"auto, (max-width: 323px) 100vw, 323px\" \/><figcaption id=\"caption-attachment-12\" class=\"wp-caption-text\">ssl-certificate<\/figcaption><\/figure>\n<p>If you don&#8217;t have the certificate on disk already, select &#8220;Copy Certificate&#8221; to export the certificate to the file system in Base-64 format.<\/p>\n<figure id=\"attachment_13\" aria-describedby=\"caption-attachment-13\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-13  \" title=\"certificate-export\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/certificate-export.jpg\" alt=\"certificate-export\" width=\"400\" height=\"313\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/certificate-export.jpg 400w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/certificate-export-300x234.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-13\" class=\"wp-caption-text\">certificate-export<\/figcaption><\/figure>\n<figure id=\"attachment_14\" aria-describedby=\"caption-attachment-14\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-14  \" title=\"ssl-certificate-xml\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate-xml.jpg\" alt=\"ssl-certificate-xml\" width=\"400\" height=\"201\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate-xml.jpg 400w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/ssl-certificate-xml-300x150.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-14\" class=\"wp-caption-text\">ssl-certificate-xml<\/figcaption><\/figure>\n<p>Construct certificate XML using the store, thumbprint, and base64 encoded certificate blob. The XML for our example case would look like this:<\/p>\n<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;198d82085972f50ae233f12e9e33456a33a83b34&#8243;&gt;<br \/>\n&lt;parm name=&#8221;EncodedCertificate&#8221; value=&#8221;<br \/>\nMIIDUzCCArygAwIBAgIDCeH5MA0GCSqGSIb3DQEBBAUAMFoxCzAJBgNVBAYTAlVT<br \/>\nMRwwGgYDVQQKExNFcXVpZmF4IFNlY3VyZSBJbmMuMS0wKwYDVQQDEyRFcXVpZmF4<br \/>\nIFNlY3VyZSBHbG9iYWwgZUJ1c2luZXNzIENBLTEwHhcNMDgxMTEwMjE1OTA1WhcN<br \/>\nMDkxMjExMjE1OTA1WjCBwjELMAkGA1UEBhMCVVMxHDAaBgNVBAoTE3d3dy50aGVz<br \/>\nc2xzdG9yZS5jb20xEzARBgNVBAsTCkdUMDg1NTAxOTMxMTAvBgNVBAsTKFNlZSB3<br \/>\nd3cucmFwaWRzc2wuY29tL3Jlc291cmNlcy9jcHMgKGMpMDgxLzAtBgNVBAsTJkRv<br \/>\nbWFpbiBDb250cm9sIFZhbGlkYXRlZCAtIFJhcGlkU1NMKFIpMRwwGgYDVQQDExN3<br \/>\nd3cudGhlc3Nsc3RvcmUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC1<br \/>\ngtD9n+VrGNIm0UFk4b1ylcijRSMP1L79r4JhMGa\/s7zzdIvlspYccm8F7lrYFzz\/<br \/>\n0GLw7Ui\/QqaS+7R7T+k6nTGTSJBTmzg3MBSeL+8JXfrYdtjpSrcUKbODO1b1zFtW<br \/>\n68yTUMXhkIDp8Qpe1zGL1KMtgwCtGkVlWXhwLJXg3QIDAQABo4G9MIG6MA4GA1Ud<br \/>\nDwEB\/wQEAwIE8DAdBgNVHQ4EFgQUihU5RlbYr+BgOtV79hx0u7F+9o8wOwYDVR0f<br \/>\nBDQwMjAwoC6gLIYqaHR0cDovL2NybC5nZW90cnVzdC5jb20vY3Jscy9nbG9iYWxj<br \/>\nYTEuY3JsMB8GA1UdIwQYMBaAFL6ooHRyUGtEt8kj2Puo\/7NXa2hsMB0GA1UdJQQW<br \/>\nMBQGCCsGAQUFBwMBBggrBgEFBQcDAjAMBgNVHRMBAf8EAjAAMA0GCSqGSIb3DQEB<br \/>\nBAUAA4GBAGk7\/w54dxzguO36MxSETEoe2nL+n9IJXuZ00A\/fYGE2C+IOVWCZQRTO<br \/>\nl4jnneCmpUR2azyNidvnHuOKZE\/SOZX6SIlBel+tmO9wsQy0f6w2ZZWE50jzkbeK<br \/>\nMkurBhVNocsnpM1CYfWU5c9p6ZSg4Z0Em3XmtXW2L0BDjmEQF7qg\/&#8221;\/&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/characteristic&gt;<br \/>\n&lt;\/wap-provisioningdoc&gt;<\/p>\n<p>Save the XML file as _setup.xml and make it into a cab file: makecab _setup.xml rootcert.cab<\/p>\n<figure id=\"attachment_15\" aria-describedby=\"caption-attachment-15\" style=\"width: 400px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15  \" title=\"wildcard-certificate\" src=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/wildcard-certificate.jpg\" alt=\"wildcard-certificate\" width=\"400\" height=\"62\" srcset=\"https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/wildcard-certificate.jpg 400w, https:\/\/www.thesslstore.com\/blog\/wp-content\/uploads\/2009\/05\/wildcard-certificate-300x46.jpg 300w\" sizes=\"auto, (max-width: 400px) 100vw, 400px\" \/><figcaption id=\"caption-attachment-15\" class=\"wp-caption-text\">wildcard-certificate<\/figcaption><\/figure>\n<p>Now install the cab file on the device. You&#8217;re done!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This post will explain how to install a root cert on a one tier device via a CAB file. You need to install root cert via CAB file for many&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":"","tve_updated_post":"","tve_custom_css":"","tve_user_custom_css":"","tve_globals":{},"tcb2_ready":0,"tcb_editor_enabled":0,"tve_landing_page":"","_tve_header":"","_tve_footer":""},"categories":[25],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-ssl-certificates","post-without-tags"],"views":10955,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":0,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.thesslstore.com\/blog\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}