Copy link to clipboard
Copied
Hello.
It seems since february 2017, Certificate Authorities deliver certificates as usb token.
I got a GlobalSign code signing certificate, which is stored on such device, using safeNet.
The problem is that the only thing i can get from it is a .cer
The private key is unaccessible and the usb token is not visible under windows explorer.
Since FlashBuilder seems to require a .pfx or .p12 for build, i don't know what to do.
I try looking into adt, but it seems it require the same files.
Any help is welcome.
Thanks.
p.s. I'm working with FlashBuilder 4.6, mainly developping flex/air desktop and mobile apps
Hi,
It can be done via command line / terminal. In the case of windows (I don't have this setup on a mac):
Copy link to clipboard
Copied
Hi,
It can be done via command line / terminal. In the case of windows (I don't have this setup on a mac):
Notes
Hope this helps you out!
Copy link to clipboard
Copied
Thanks. this works.
Copy link to clipboard
Copied
I am having trouble getting this to work. I have the same scenario as above. Unfortunately the alias instructions do not work for me since I have legacy certificates that have the same "Issued to:" field. The command is using last years certificate and telling me my certificate is expired. It is not using the new e-token on the usb.
The certificate is from the same provider so using -providerName does not appear to work..
Any help is welcome - I am spinning my wheels on this one.
Update:
Figured it out. I deleted all the old certificates that were in the Internet Explorer browser and it defaulted to the latest certificate.
Sorry for the noise
Copy link to clipboard
Copied
Been fighting with this all day. GlobalSign is trying to help, but they can't even figure it out. Any help Adobe? Also, there's mention of using the 32 bit version of Java, but as far as I can tell, that's not available for Mac?
This is essentially what GlobalSign has told us, but I just get an error "requested provider is not available"
adt -migrate -tsa http://timestamp.globalsign.com/scripts/timestamp.dll <http://timestamp.globalsign.com/scripts/timestamp.dll> -storetype PKCS11 -alias "le-4859d290-7d91-4f3d-8987-b7224058c5c7" -providerName SunPKCS11-eToken signed.air resigned.air
Copy link to clipboard
Copied
I am having the same issue. It would be great if this could be resolved.
Copy link to clipboard
Copied
More information about sign with eToken - EV Code Signing Certificates for Adobe AIR®
On Windows I installed SafeNet soft and eToken appeared in Certificate manager as common certificate.
Then I used adt with -storetype 'Windows-MY' and -alias with certificate name.
On mac there is no luck yet.
Copy link to clipboard
Copied
Hello.
Thank you so much for the nice support. It works smoothly when we need as output a file.air What should we do in case we need a file.exe output? Every help will be greatly appreciated.
Copy link to clipboard
Copied
I'm migrating a flash based game into Adobe Air getting ready for Flash end of life. I'm having issues packing the native installer on Mac. On PC it's working using the following...
adt -package -tsa http://timestamp.digicert.com/ -storetype Windows-MY -alias "My Company Name" -storepass myPassword -keypass myPassword -target native gameName.exe game-app.xml game.swf assets
(this worked based on spadged 's answer)
I'm trying to get the same approach working on the Mac with no luck. I tried...
adt -package -tsa http://timestamp.digicert.com/ -storetype KeychainStore -alias "My Company Name" -providerName Apple -storepass myPassword -keypass myPassword -target native gameName.exe game-app.xml game.swf assets
error....
KeychainStore Ignored Exception: java.security.cert.CertificateParsingException: java.io.IOException: Duplicate extensions not allowed.
I've also tried this...
adt -package -tsa http://timestamp.digicert.com/ -storetype pkcs11 -providerName SunPKCS11-eToken -alias "My Company Name" -storepass myPassword -keypass myPassword -target native gameName.exe game-app.xml game.swf assets
error:
requested provider is not available