I'm trying to sign my jars, and re-using portions of an ANT script that I know works to do the same thing, but I am getting this error from the build.xml:
[signjar] jarsigner: key associated with Alias not a private key
Basically, the build script creates a dummy keystore if not being done on the main build machine (where secure keystore is stored.) I'm generating those files, so the script's working up to a point. Below is the section in the script where I"m trying to sign the jar, as well as its dependent targets dealing with the signing/keystore:
Joined: Aug 19, 2002
Ahhh, crikeys.. nevermind, I deleted the old generated files, and when run again, the script works to sign the jar.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
subject: ANT & Jarsigner error: "not a private key"