Question about Java Code Signing Certificate

I downloaded the source code for the applet:

http://www.oxygenxml.com/demo/AuthorDemoApplet/author-component-dita.html

As indicated, I used ANT to build it, but the assembly failed, ANT complains about the following:

[signJar] Error jarsigner: java.Lang.RuntimeException: loading cache: C \ Users .... {The system cannot find the specified file}

From this error, I conclude that it is a java code signing certificate that causes the problem, and I did some research on this, it seems to me that I should buy. But since I am not deploying this applet on any web server (including localhost). I was wondering if there is a way to solve this problem?

Thanks in advance for the suggestions!

+2
source share
2 answers

If the code is really not suitable for the outside world, or your work will be β€œtrusted” in some other way, you can independently sign the certificate using keytool . It is included in the JDK.

A self-signed certificate is one that is not signed by the certification center, and therefore you will not have third-party guarantee for your authenticity, but if this is acceptable (and often is), this is the appropriate method.

+1
source

You can create your own certificate using the jdk keytool tool .

+2
source

All Articles