title: Installing an Intermediate/chain certificate using Java Key Tool
body: <p>I have a JKS file made for Confluence that already contains my private and public key.
  It works fine with most browser albeit one small issue.
  On sslshopper I get the following message:</p>
  
  <blockquote>
    <p>The certificate is not trusted in all web browsers. You may need to
    install an Intermediate/chain certificate to link it to a trusted root
    certificate.</p>
  </blockquote>
  
  <p>I got the CA chain + Root from Comodo, read through and attempted the following:</p>
  
  <pre><code>keytool -importcert -keystore fecru.jks -storepass SECRET -trustcacerts -alias chain -file cachain.bundle
  </code></pre>
  
  <p>Even though the cert was successfully added the to key store I still get the same results.</p>
  
  <p>What am I missing?</p>