Turn from: http://blog.k-res.net/archives/1539.html How to convert Android packaging with JKS format KeyStore certificate for Air P12 certificate in PKCS12 format June 11, 2013 | Posted by K-res
Inspired by Flash's advanced stage3d technology and the Temptation of Unreal Epic Citadel Demo, I decided to try out the cross-platform performance of Flash Builder and successfully run the Starling 2D framework after the demo decided to pack on the device, The signing certificate required to export the Android installation package for the cross-platform of air is actually. p12 format, although this "fit" certificate in the development of iOS is still quite a lot of, but for Android development is the first time.
Obviously, the publishing certificate generated by the native Android development by default KeyStore not. p12 format, then need to convert, fortunately, a JDK called Keytool tool can do this work, the method is as follows:
c:\kres>\local\jdk\bin\Keytool.exe-importkeystore-srckeystore Kres.jks
-srcstoretype jks-srcstorepass Kresjks-srcalias [email protected]
-destkeystore Kres.p12-deststoretype Pkcs12-deststorepass kresP12
-destkeypass kresP12
c:\kres>\local\jdk\bin\Keytool.exe-list-keystore KRES.P12
-storepass Kresp12-storetype PKCS12
Keystore TYPE:PKCS12
Keystore Provider:sunjsse
Your KeyStore contains 1 entry
[email protected], Mar, Privatekeyentry,
Certificate fingerprint (MD5): 00:5d:79:5a:47:76:c7:1a:53:3c:30:90 ...
Note the relevant original certificate password alias to fill in the correct, export the certificate password to fill in!
Go: How to convert Android packaging with JKS format KeyStore Certificate P12 certificate for air in PKCS12 format