title: Diffie-Hellman public key error with Tomcat 7
body: <p>I successfully set up two Ubuntu machines with Tomcat and SSL certificates. 
  I followed exactly the same procedure with Centos 6, but I'm getting this when I'm trying to connect to the Server (using Opera):</p>
  
  <blockquote>
    <p>Server has a weak, ephemeral Diffie-Hellman public key</p>
  </blockquote>
  
  <p>The connector is the following, and there are no errors in catalina.log:</p>
  
  <pre><code>&lt;Connector port="some port number"  
             protocol="org.apache.coyote.http11.Http11Protocol" 
             SSLEnabled="true"
             maxThreads="150" scheme="https" secure="true"
             clientAuth="false" sslProtocol="TLS"
             keystoreFile="path to jks"
             keystoreType="JKS"
             keystorePass="mypass1"
             keyPass="mypass2"  /&gt; 
  </code></pre>
  
  <p>With Firefox, I get the untrusted communication error.</p>