title: Unable to import certificate in keytool
body: <p>I am using following command to import the certificate in KeyStore:</p>
  
  <pre><code>"%JAVA_HOME%"\bin\keytool -importcert -trustcacerts -alias c:\cacert-Service -file c:\e-Service.cer -keystore "%JAVA_HOME%"\jre\lib\security\cacerts
  </code></pre>
  
  <p>it asked for a password, and show the following result on CMD:</p>
  
  <pre><code> Certificate was added to keystore
   keytool error: java.io.FileNotFoundException: C:\Program Files (x86)\Java\jdk1.6
   .0_20\jre\lib\security\cacerts (Access is denied)
  </code></pre>
  
  <p>What is going wrong?</p>