Warning: The signer certificate has expired.
I get the following when I try to sign with jarsigner, and the output jar doesn't get generated.
How do I renew my jar signature?
The jarsigner command uses key and certificate information from a keystore to generate digital signatures for JAR files. A keystore is a database of private keys and their associated X. 509 certificate chains that authenticate the corresponding public keys.
You can optionally sign a JAR file with your electronic "signature." Users who verify your signature can grant your JAR-bundled software security privileges that it wouldn't ordinarily have. Conversely, you can verify the signatures of signed JAR files that you want to use.
Are you using a self-signed certificate? If so, you just need to use keytool to generate a new certificate, then sign your jar using keysigner.
If you are using a third-party signed certificate (Verisign, Thawte, etc), you'll need to renew your key using their online system (usually the same place you got the original cert).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With