{"id":94,"date":"2011-02-09T13:10:14","date_gmt":"2011-02-09T20:10:14","guid":{"rendered":"http:\/\/www.steveneppler.com\/blog\/?p=94"},"modified":"2011-02-09T13:14:02","modified_gmt":"2011-02-09T20:14:02","slug":"signing-ios-mobileconfig-files-with-your-certificate","status":"publish","type":"post","link":"https:\/\/steveneppler.com\/blog\/2011\/02\/09\/signing-ios-mobileconfig-files-with-your-certificate","title":{"rendered":"Signing iOS mobileconfig files with your certificate"},"content":{"rendered":"<p>If you&#8217;ve ever used Apple&#8217;s iPhone Configuration Utility, you&#8217;ve probably noticed that it says &#8216;Unsigned&#8217; when you send the .mobileconfig file to your device.  To sign the profile, export or email the config file to yourself, have your certificate files handy, and type the following:<br \/>\n<code><br \/>\nopenssl smime \\<br \/>\n-sign \\<br \/>\n-signer your-cert.pem \\<br \/>\n-inkey your-priv-key.pem \\<br \/>\n-certfile TheCertChain.pem \\<br \/>\n-nodetach \\<br \/>\n-outform der \\<br \/>\n-in ConfigProfile.mobileconfig \\<br \/>\n-out ConfigProfile_signed.mobileconfig<br \/>\n<\/code><\/p>\n<p>The files you&#8217;ll need are:<\/p>\n<p>your-cert.pem &#8211; this is the certificate you&#8217;ve been issued<br \/>\nyour-priv-key.pem &#8211; this is your private key<br \/>\nTheCertChain.pem &#8211; this is the certificate chain (optional, in some cases)<br \/>\nConfigProfile.mobileconfig &#8211; This is the unsigned copy of your configuration profile<\/p>\n<p>The original instructions are located <a href=\"https:\/\/confluence.terena.org\/display\/tcs\/Sign+Apple+mobileconfig+files\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you&#8217;ve ever used Apple&#8217;s iPhone Configuration Utility, you&#8217;ve probably noticed that it says &#8216;Unsigned&#8217; when you send the .mobileconfig file to your device. To sign the profile, export or email the config file to yourself, have your certificate files handy, and type the following: openssl smime \\ -sign \\ -signer your-cert.pem \\ -inkey your-priv-key.pem &#8230; <a title=\"Signing iOS mobileconfig files with your certificate\" class=\"read-more\" href=\"https:\/\/steveneppler.com\/blog\/2011\/02\/09\/signing-ios-mobileconfig-files-with-your-certificate\" aria-label=\"Read more about Signing iOS mobileconfig files with your certificate\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,7,4],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","hentry","category-apple","category-mac-os-x","category-on-the-job"],"_links":{"self":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":5,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":99,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions\/99"}],"wp:attachment":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}