System Grab Bag

View all TLDR pages from common (or from all pages)

jarsigner

Sign and verify Java archive (JAR) files. More information: https://docs.oracle.com/en/java/javase/20/docs/specs/man/jarsigner.html.
  • 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}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.