java - Converting P12 to JKS Certificate Adode AIR to Native Android Issues -


i have app in play store built in adbobe air , i'm looking upgrade version built in native android via android studio.

when comes certificate signing have issues... when exporting apk flashbuilder generated self signed certificate .p12 file , asked password when first generate certificate , use each time. worked fine...

now when creating new native java app android studio requires .jks sign with.

i have apparently converted old .p12 jks using keytool in java using technique highlighted here in 1 of comments: http://www.webfarmr.eu/2010/04/import-pkcs12-private-keys-into-jks-keystores-using-java-keytool/

when attempt generate signed apk app android studio prompts for:

  • "key store path" - ive got that
  • "key store password" - got that.
  • "key alias" - how find out??
  • "key password" - set originally??

so i'm stuck not knowing key alias , key password because these things never asked when .p12 created in flashbuilder originally.

any around how accomplish conversion appreciated.

thanks marco

ok worked out wondering deal converting p12 jks. when converted old p12 certificate used inbfo on page: http://www.webfarmr.eu/2010/04/import-pkcs12-private-keys-into-jks-keystores-using-java-keytool/

i used following command(with own file names): keytool -importkeystore -srckeystore alice.p12 -srcstoretype pkcs12 -destkeystore alice.jks .

this creates default alias in new keystore called "1" , password actual key same password used in flashbuilder create old p12 certificate.


Comments