Java Keytool error after importing certificate , “keytool error: java.io.FileNotFoundException & Access Denied”
I'm trying to connect a Java Web API via HTTPS; however, an exception is thrown: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException I followed these steps which I learned from online keytool & SSL cert tutorials: I copied the HTTPS URL into the browser, downloaded the SSL certificates & Installed them in the browser using Internet Explorer. Exported the certificates to a path on my computer, the certificates were saved as .cer Used the keytool's import option. The command below executed without any errors. keytool -import -alias downloadedCertAlias -keystore C:\path