Error Signing JavaFX jar

I'm getting this errors trying to sign a Java FX app with a custom certificate (crt) that works fine if I use it directly with jarsigner

...
Java FX Packager: JavaFX sign task has failed for: /Users/Sebastian/Library/Caches/IntelliJIdea12/compile-server/_temp_/artifact2064713574984050972unzipped/deploy/IntegraAgentFXDataCapture.jar.
...
Compilation completed with 6 errors and 0 warnings in 5 sec


any idea??

10 comments

what IDEA version do you use? Thanks

0

as you can see on the path of my post IntelliJ IDEA 12 (latest version)

0

Sorry if you misunderstand me, I was asking about a build number which is shown in Help|About. Thanks

0

129.354 the latest avaiable

0

and the same problem with the latest EAP build 400

0

works here. I'll add additional logging in case jarsigner provides additional information. Could you please check if parameters for signer are passed corresponding to the certificate you use? Thanks

0

I'm attaching my certificate, the password, the store and key pass are bout the same:   integra


can you check if with this you can sign? maybe there is a different way to make the certificates this is the procedure  I follow:

keytool -genkey -keyalg rsa -alias integra


maybe there is other way to create the certificate to work on intellij.

best regards



Attachment(s):
integra.crt.zip
0

jarsigner throws RuntimeException
Error:jarsigner error: java.lang.RuntimeException: keystore load: Invalid keystore format

IDEA generates its certificates with command keytool -genkeypair ... So you specify storepass/keypass which is used then in sign task.

The exception is propagated after the fix to the error messages toolwindow, so you'll be able to see it. Sorry

0

I can do the certificate other way, just tell me what is the correct procedure to make the certificate file for IDEA.

I've tryied with the parameters you told me and then  

keytool -exportcert -alias integra -file integra.cer


using this cer agains give me the same errors.

thanks

0

Please try

keytool -genkeypair -dname="CN=integra" -alias integra -keyStore integra.cer -storepass some_store_pass -keypass some_key_pass

0

Please sign in to leave a comment.