Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Guide to the use of Adobe AIR Code signing certificates

2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Code signing certificates issued by Symantec, Thawte, GlobalSign can sign AIR files. If you do not already have a code signing certificate, contact EVTrust to purchase an Adobe AIR code signing certificate.

1. Signature Tools Download and Install

Please make sure you have downloaded Adobe AIR and the free Adobe AIR SDK, and also make sure you have downloaded and installed SUN Java 6 JDK on your PC, the signing tool requires Java support. Please note: Users only need to download and install Adobe AIR to use the environment, no need to install SUN Java.

2. Document Packaging and Signing Guide

Assuming you have successfully installed Adobe AIR SDK, there are two useful tools in the C:\Adobe AIR SDK\bin directory: ADL and ADL. Please set this directory to the path environment variable. Suppose your application directory is: d:\myair\source\myapp.xml, and export the Adobe AIR code signing certificate you applied for to the PFX format certificate: mycert.pfx also copied to this directory, enter DOS command mode, use the following command packaging and signing:

adt -package -storetype pkcs12 -keystore mycert.pfx evtrustapp.air evtrustapp.xml .

Here: evtrustapp.air is the signed file generated after packaging, evtrustapp.xml is the file to be packaged, which can be many related files, such as evtrustapp.xml evtrustapp.html AIRAliases.js p_w_picpath.gif, etc.

After running, you will be prompted to enter your certificate password, which is the password you set when exporting the certificate. Enter to complete the packaging and signature, and you can deploy it for customers to download and run.

If you haven't purchased an Adobe AIR code signing certificate, you can also make a self-signed book to test your signature using the following command, but as shown in Figure 1 above, it will display: Publisher: Unknown. Enter DOS command mode, enter the following command to generate a self-visa book, self-visa book file name: testcert.pfx

adt -certificate -cn selfsign -ou test -o test -c CN 1024-RSA testcert.pfx password

After successfully generating a self-signed certificate, you can use the above packaging and signing commands to sign. Please note that self-certification is for beta use only; commercially released software must also purchase an Adobe AIR code signing certificate to sign your.AIR file.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report