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 need to right click a shortcut to the command prompt and click Run as Administrator to generate the self signed certificate.

VN:F [1.9.22_1171]
Rating: 10.0/10 (1 vote cast)
Keytool Error: Java.IO.FileNotFoundException: (Access is denied), 10.0 out of 10 based on 1 rating

Leave a comment

Your email address will not be published. Required fields are marked *