title: SSL Wildcard Certificate into Tomcat
body: <p>I purchased a Wildcard certificate and I'm trying to use it with <code>Tomcat 8</code>. </p>
  
  <p>I've executed a few lines of commands in order to enable SSL. SSL is enabled but I'm always receiving the warning that I'm using a Self Signed Certificate. Of course this shouldn't be the case, it should be using the trusted certificate instead.</p>
  
  <p>I have received the certificate and the intermediate certificate (from 1and1) and I figured out that the Root Certificate is issued by <code>GeoTrust Global CA</code> (I downloaded it).</p>
  
  <p><strong>Generating Key:</strong>
  <code>keytool -genkey -alias tomcat -keyalg RSA</code></p>
  
  <p><strong>Adding Root Certificate</strong>
  <code>keytool -import -alias root -keystore .keystore -trustcacerts -file root.pem</code></p>
  
  <p><strong>Adding Intermediate Certificate</strong>
  <code>keytool -import -alias intermed -keystore .keystore -trustcacerts -file intermediate.cer</code></p>
  
  <p><strong>Adding Main Certificate</strong>
  <code>keytool -import -alias main -keystore .keystore -file main.cer</code></p>
  
  <p>I have modified the connector in <code>server.xml</code>, it's very simple part, providing the keystore and the password.</p>
  
  <p>When I browse to the domain, I'm receiving a warning that this is a self signed certificate and I have to add an exception and so on...</p>
  
  <p>This certificate is already used in IIS and it's working perfectly fine.</p>
  
  <p>Using some online tools <code>ssl-checker</code>, it proves that this is a self signed certificate and the issuer is equal to the "First Name and Family Name" that I provide at the beginning of the first command.</p>
  
  <p>What could be the missing issue?</p>
  
  <p>Thanks!</p>