当前位置:网站首页>A guide to signing adobe air applications using code signing certificates

A guide to signing adobe air applications using code signing certificates

2022-06-09 05:40:00 Wotong wotrus

If you want to Adob​​e AIR Run your application on , You must first digitally sign them with a code signing certificate , The following is the signature guide , For your reference only .

Premise : Prepare the code signing certificate .pfx file , For details, please refer to this article 《 How to export a code signing certificate to .PFX file 》.

1、 Use ADT signed AIR Applications (CLI Options )

Open a command prompt as an administrator ( Right click and select run as administrator )

Navigate to the source directory of the application ( namely application.xml File location ).

Be careful : Ensure that the code signing certificate used for signing .pfx The file is not in the source directory .

Now run the following command on the command line , Modify the italic text to match your file name :

adt -package -storetype pkcs12 -keystore “c:\path\to\your\certificate.pfx” “c:\path\to\your\file.air” “application.xml”

When prompted , Enter the certificate you are exporting as .pfx The password created when creating the file .

2、 Use Flash Conduct AIR Application signature (GUI Options )

Open your for signing AIR The program of the document .

according to Adob​​e file , You can use Adob​​e Flash Builder 4.5、Adobe Flash CS 5.5 Professional or Flex SDK.

In the program , choice Adob​​e AIR Set up .

This setting will be based on the AIR The version lists a number .

Adobe Flash File menu selection Adob​​e Air Set up .

stay AIR On the signature tab of the settings window , Choose to sign the certificate with code (.p12, .pfx).

Select code signing certificate pfx file .

stay “ certificate ” In the box , Use the drop-down list or click “ Browse ” To select your Code signing certificate .pfx file .

In the password box , Enter the certificate you are exporting .pfx The password created when creating the file , Then click publish .

原网站

版权声明
本文为[Wotong wotrus]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/160/202206090535253143.html