Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Creating a self signed certificate - how do you set the 'storepass'

New Here ,
Jun 23, 2011 Jun 23, 2011

Hi, I'm trying to use the ADT to create an AIR 2.7 file, but it's the first time i've used the command line tool to build one and am having problems understanding the signing process.

I can generate a cert.p12 keystore file from within the flash IDE, and this asks for a password for the file (-storepass)

I can also use ADT to create a self-signed certificate from the command line, here you can specify the -keystore (cert location) and -keypass (password for the key in the store)

I cannot find a way of generating a self-signed certificate where you can specify both passwords though, one for the store (-storepass) and one for the key (-keypass).

This is a problem because when i go to package my AIR file using ADT it needs both passwords -storepass and -keypass before it can publish it.

Does anyone know how to generate a self-signed .p12 certificate and have control over both the keys...?

I have spent hours playing and searching now so may have the wrong end of the stick, could do with some help getting past this issue.

Thanks

Sean

TOPICS
Development
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Mentor , Jun 23, 2011 Jun 23, 2011

There is only one password is required to package for ipa as far I know

Sample command:

C:\AdobeAIRSDK\bin\adt.bat -package -target ipa-test -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default

...
Translate
Mentor ,
Jun 23, 2011 Jun 23, 2011

There is only one password is required to package for ipa as far I know

Sample command:

C:\AdobeAIRSDK\bin\adt.bat -package -target ipa-test -storetype pkcs12 -keystore [KEYFILE].p12 -storepass [KEY PASSWORD] -provisioning-profile [MOBILE PROVISION FILE].mobileprovision [IPA NAME].ipa [XML FILE NAME].xml [SWF FILE NAME].swf Icon_29.png Icon_48.png Icon_57.png Icon_72.png Icon_512.png Default-Landscape.png Default-Portrait.png Default-PortraitUpsideDown.png Default-PortraitLandscapeLeft.png Default-PortraitLandscapeRight.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 23, 2011 Jun 23, 2011
LATEST

Thankyou.

I think i must have been confused by the difference between the store (cert file) and the key within it. I just created the certificate with a key password and successfully managed to package the air app using -storepass [KEY PASS]

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines