Jarsigner Certificate Chain Not Found For Keystore

When trying to sign a jar file, you get: Jarsigner: Certificate chain not found for: DeploymentRuleSet.jar.  DeploymentRuleSet.jar must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain. You can get the Certificate chain not found error if you put filepaths in the jarsigner command line switches. To fix […]
Continue reading…

 

Keytool Error: Java.IO.FileNotFoundException: (Access is denied)

When generating a self signed certificate using the Java Keytool, you get this error: Keytool error: java.io.FileNotFoundException: keystore.jks (Access is denied) You get the Java Keytool FileNotFoundException error if you didn’t run the command prompt as an administrator. This access is denied error even happens if you are logged in as an administrator, you still […]
Continue reading…

 

Running Unsigned Applications Like This Will Be Blocked – Java

When running a Java application, you get this warning: Security Warning Do you want to run this application? An unsigned application from the location below is requesting permission to run. Location: <URL> Running unsigned applications like this will be blocked in a future release because it is potentially unsafe and a security risk. This is […]
Continue reading…

 

How To Generate A Self Signed Certificate Using The Java Keytool

This article shows you how to generate a self signed certificate using the Java Keytool. To generate a self signed certificate: Log into the PC as a local administrator Navigate to the Bin directory of your Java installation (typically C:\Program Files (x86)\Java\jre7\bin) Run the following command (feel free to change the password to something more […]
Continue reading…