title: SSL Certificate configuration for WSO2 API 3.2
body: <p>I'm currently trying to configure our WSO2 API Manager 3.2 to use our SSL certificate.
  I followed the documentation &quot;Creating a New Keystore&quot; and &quot;Configuring Keystores in API Manager&quot;.
  <br><br>I have updated the deployment.toml file:</p>
  <pre><code>[server]&lt;br&gt;
  hostname = &quot;myserver001.internal.net&quot;
  ....
  
  [keystore.tls]
  file_name =  &quot;myKeystore.jks&quot;
  type =  &quot;JKS&quot;
  password =  &quot;secretpassword&quot;
  alias =  &quot;myserver001.internal.net&quot;
  key_password =  &quot;secretpassword&quot;
  
  [keystore.primary]
  file_name =  &quot;wso2carbon.jks&quot;
  type =  &quot;JKS&quot;
  password =  &quot;wso2carbon&quot;
  alias =  &quot;wso2carbon&quot;
  key_password =  &quot;wso2carbon&quot;
  </code></pre>
  <p>The servername is set to myserver001.<br>
  The domain name myserver001.internal.net is set in the host file.</p>
  <p>After restarting the WSO2 APIM server an exception message is thrown:</p>
  <p>SSLException: hostname in certificate didn't match:</p>
  <pre><code>  &lt;localhost&gt; != &lt;myserver001.internal.net&gt; OR &lt;myserver001.internal.net&gt;
  </code></pre>
  <p>Does anyone knows what I have to change additionally, to come around this error or where I can find additional documentation?</p>
  <p>Any help is appreciated</p>