title: Import .cer into java keystore as "Trusted Certificate" and "Secure Site"
body: <p>I try to import two .cert files into the java keystore.
  One as "Trusted Certificate" and one as "Secure Site".</p>
  
  <p>But they always get into "Secure Site CA".</p>
  
  <p>What am I doing wrong?</p>
  
  <p>This is my script:</p>
  
  <pre><code>C:
  cd %programfiles%\java\jre6
  .\bin\keytool.exe -importcert -alias zert1 -file D:\Certs\cert.cer -trustcacerts -keystore ./lib/security/cacerts -storepass changeit -noprompt
  </code></pre>