I am trying to sign a jar file with a code signing certificate issued by globalsign.
I am completely new to this, but after some searches and a lot of trial and error, I followed the steps below.
I imported the certificate into the keystore using:
keytool -importcert -alias signalias -file OS200912023195.cer
When I try to sign my jar file using:
jarsigner applet.jar signalias
I get the following error:
jarsigner: Certificate chain not found for: signalias. signalias must reference a valid KeyStore that contains the private key and the corresponding public key certificate chain.
Have I forgotten something or a problem with the certificate?
source share