{"id":255,"date":"2016-01-19T14:07:27","date_gmt":"2016-01-19T14:07:27","guid":{"rendered":"http:\/\/www.pkipartner.support\/?page_id=255"},"modified":"2016-01-28T10:15:01","modified_gmt":"2016-01-28T10:15:01","slug":"codesign-signing-adobe-air-applications","status":"publish","type":"page","link":"https:\/\/pkipartner.com\/support\/codesign-signing-adobe-air-applications\/","title":{"rendered":"Codesign &#8211; Signing Adobe Air Applications"},"content":{"rendered":"<p>Signing Adobe Air Applications<br \/>\nOnce you have obtained your Code-Signing certificate, you will need to convert it to a format suitable for the Adobe AIR SDK to sign applications with (PKCS12 or PFX format).<\/p>\n<p><strong>If your certificate was obtained using <em>Mozilla Firefox<\/em>:<\/strong><\/p>\n<ul>\n<li>Go to the &#8216;Tools&#8217; menu, and choose &#8216;Options&#8217;.<\/li>\n<li>Click the &#8216;Advanced&#8217; icon, select the &#8216;Encryption&#8217; tab, and then click the &#8216;View Certificates&#8217; button.<\/li>\n<li>Listed under &#8216;Your Certificates&#8217;, you should see your Code-Signing certificate. Select it, and click the &#8216;Backup&#8217; button.<\/li>\n<li>Choose a name and location for the file. Then enter the master password.<\/li>\n<li>Choose and enter a password for the exported file.<br \/>\n<em>You will need this password later when signing the AIR Application.<\/em><\/li>\n<li>The certificate and private key will be exported to a PKCS#12 file, with a .p12 extension.<\/li>\n<\/ul>\n<p><strong>If your certificate was obtained using <em>Internet Explorer<\/em>:<\/strong><\/p>\n<ul>\n<li>Go to the &#8216;Tools&#8217; menu of IE, select &#8216;Internet Options&#8217;, then select the &#8216;Content&#8217; tab.<\/li>\n<li>Click the &#8216;Certificates&#8217; button. From the &#8216;Personal&#8217; tab, select your Code-Signing certificate, and click the &#8216;Export&#8217; button.<\/li>\n<li>The Certificate Export Wizard will start. Click &#8216;Next&#8217;.<\/li>\n<li>Select &#8216;Yes, export the private key&#8217;, click &#8216;Next&#8217;.<br \/>\n<em>If this option is greyed out, you cannot use this certificate for signing Adobe AIR Applications. <\/em><em>You will need a new certificate.<\/em><\/li>\n<li>Leave the default checkboxes on the next screen. Click &#8216;Next&#8217;.<\/li>\n<li>Choose and confirm a password. Click &#8216;Next&#8217;.<br \/>\n<em>You will need this password later when signing the AIR Application.<\/em><\/li>\n<li>Choose a filename and location. Click &#8216;Next&#8217;.<\/li>\n<li>Click &#8216;Finish&#8217; and the export should be successful. You now have your certificate and key exported to a PKCS#12 .pfx file.<\/li>\n<\/ul>\n<p><strong>Signing the Adobe AIR Application<\/strong><\/p>\n<p>These instructions use the Adobe AIR SDK to sign the AIR application.<\/p>\n<ul>\n<li>Firstly, check that the \/bin\/ directory of the Adobe AIR SDK is in your PATH environment variable.<\/li>\n<li>Copy the exported certificate (.p12 or .pfx file) to a location <em>outside<\/em> of the &#8216;source&#8217; directory of your application. [Example <a href=\"https:\/\/support.comodo.com\/uploaded\/airpaths.gif#_blank\">here<\/a>]<\/li>\n<li>Open a DOS prompt, and navigate to the source directory of your application (where the &#8216;application.xml&#8217; file is stored).<\/li>\n<li>Run the following command, substituting filenames and paths where required:<\/li>\n<\/ul>\n<p>adt -package -storetype pkcs12 -keystore [location of certificate file] [location of .air file] application.xml .<\/p>\n<p>Example command: <a href=\"https:\/\/support.comodo.com\/uploaded\/signcommand.gif\">here<\/a>.<br \/>\nYou will be prompted for a password &#8211; enter the password set when you exported the certificate as above.<br \/>\nYour application will now be signed.<\/p>\n<p><a href=\"http:\/\/www.pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air.gif\" rel=\"attachment wp-att-590\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-590\" src=\"http:\/\/www.pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air-300x234.gif\" alt=\"CodeSign - Adobe Air\" width=\"300\" height=\"234\" srcset=\"https:\/\/pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air-300x234.gif 300w, https:\/\/pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air-192x150.gif 192w, https:\/\/pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air-150x117.gif 150w, https:\/\/pkipartner.com\/support\/wp-content\/uploads\/2016\/01\/CodeSign-Adobe-Air-400x311.gif 400w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n<strong>Note:<\/strong> The signing can also be done with Flash CS3 Professional, Flex Builder 3, Flex 3 SDK or Dreamweaver CS3. Instructions for these can be found:<\/p>\n<ul>\n<li><a href=\"http:\/\/www.adobe.com\/devnet\/air\/articles\/signing_air_applications_03.html\">Signing with Flex Builder 3<\/a><\/li>\n<li><a href=\"http:\/\/www.adobe.com\/devnet\/air\/articles\/signing_air_applications_04.html\">Signing with Flex 3 SDK<\/a><\/li>\n<li><a href=\"http:\/\/www.adobe.com\/devnet\/air\/articles\/signing_air_applications_05.html\">Signing with Flash CS3 Professional<\/a><\/li>\n<li><a href=\"http:\/\/www.adobe.com\/devnet\/air\/articles\/signing_air_applications_06.html\">Signing with Dreamweaver CS3<\/a><\/li>\n<\/ul>\n<h3><\/h3>\n","protected":false},"excerpt":{"rendered":"<p>Signing Adobe Air Applications Once you have obtained your Code-Signing certificate, you will need to convert it to a format suitable for the Adobe AIR SDK to sign applications with (PKCS12 or PFX format). If your certificate was obtained using Mozilla Firefox: Go to the &#8216;Tools&#8217; menu, and choose &#8216;Options&#8217;.\u2026<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/pkipartner.com\/support\/codesign-signing-adobe-air-applications\/\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/255"}],"collection":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/comments?post=255"}],"version-history":[{"count":3,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/255\/revisions"}],"predecessor-version":[{"id":591,"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/pages\/255\/revisions\/591"}],"wp:attachment":[{"href":"https:\/\/pkipartner.com\/support\/wp-json\/wp\/v2\/media?parent=255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}