Home > java > Signing exe and jars in an ant build

Signing exe and jars in an ant build

February 19th, 2013

Easiest way to sign your java jars and exes from ant:

1. First some prep to speed things up:
- set your domains whois information to match your business
- register with a phonebook company: yell.com or 192.com
This means when they ask for it later, you already have it done.

2. Cheap keys are available at tucows author: https://author.tucows.com/certs.php
This article details the steps and downloading the key (use IE at all times):

3. Once you have it, use these instructions to export it as a file:

4.For signing jars:
This guide steps you through: http://blog.pengoworks.com/index.cfm/2008/2/27/Using-a-PKCS12-key-to-for-signing-JAR-files

5. For signing .exes get JSign and add it’s ant task.

java , , , ,

  1. No comments yet.
  1. No trackbacks yet.