Sign and verify Java archive (JAR) files | jarsigner
·
101 words
·
1 minute read
jarsigner is a command-line tool to sign and verify Java archive (JAR) files.
Sign a JAR file:
jarsigner path/to/file.jar keystore_alias
Sign a JAR file with a specific algorithm:
jarsigner -sigalg algorithm path/to/file.jar keystore_alias
Verify the signature of a JAR file:
jarsigner -verify path/to/file.jar
More information: https://docs.oracle.com/en/java/javase/20/docs/specs/man/jarsigner.html .
I hope you enjoyed reading this post as much as I enjoyed writing it. If you know a person who can benefit from this information, send them a link of this post. If you want to get notified about new posts, follow me on YouTube , Twitter (x) , LinkedIn , and GitHub .