Welcome to Global Trust 256 bit SSL Security Site.

  現在位置 : 技術資源 > 知識庫FAQ > CodeSign程式碼簽章 > CodeSign > Signing Jar Files

技術 / 資訊搜尋 

Signing Jar Files

Signing Jar Files (converting pvk to p12)

You will need two files:

• pvk file (generated by IE, and stored in c:\mykey.pvk by default)
• spc file (the cert)

Now to generate a PKCS12 pfx file you need Microsoft's pvkimprt tool. So install and run the tool:
pvkimprt c:\mycert.spc c:\mykey.pvk

Import it into your personal keystore, so we can export it as a pfx file:
• Start-Run: mmc.exe
• Add Snapin: Certificates
• Properties: Add a friendly name to the cert (this will be the alias)
• Export a pfx file

And after that process you will have a certificate you can use to sign jar files, and possibly start your own import/export business.
Here's the ant task I use to sign jar files:

message="Please enter keystore password:"
addproperty="keypass" />

keystore="${keystore}/yourkey.p12" alias="Your Alias"

Code signing java applets is also possible. A comprhensive guide can be found here:


技術支援系統登入 忘記密碼?


文件區 (3)
SSL 憑證 (0)
CodeSign程式碼簽章 (0)
Email憑證 (24)
隱私條款 法律聲明 安全說明連絡寰宇