title: SOAPUI 4.5.1 Could Not Generate DH keypair
body: <p>I'm running SOAPUI 4.5.1 on Windows 7.  I'm using the stand-alone ZIP version.  It tells me that it's using JRE 1.7.0_03 in the command shell when I run the startup .bat file.</p>
  
  <p>My original configuration was installed using the .exe.  It ran fine under JDK 1.6.0_51.  Then I installed JDK 1.7.0_45-b18 on my machine and I started getting this exception whenever I submitted a request:  </p>
  
  <pre><code>Tue Dec 17 15:06:49 EST 2013:ERROR:javax.net.ssl.SSLException: java.lang.RuntimeException: Could not generate DH keypair
  </code></pre>
  
  <p>This is the root cause: </p>
  
  <pre><code>   Caused by: java.security.InvalidAlgorithmParameterException: Prime size must be multiple of 64, and can only range from 512 to 1024 (inclusive)
  </code></pre>
  
  <p>It's a <a href="http://forum.soapui.org/viewtopic.php?t=2931" rel="nofollow">well-known problem</a>, but I haven't been successful at implementing a solution.</p>
  
  <p>The .exe install uses bcprov-jdk15-144.jar.  I went to <a href="http://www.bouncycastle.org/latest_releases.html" rel="nofollow">Bouncy Castle</a>, downloaded bcprov-jdk15-150.jar, added it to the /lib directory; no joy.</p>
  
  <p>I uninstalled JDK 7; no joy.</p>
  
  <p>I uninstalled the .exe and put the stand-alone ZIP version on my machine; no joy.</p>
  
  <p>Google suggests that telling SOAPUI to use the latest JDK will solve the problem</p>
  
  <p>I don't know how to tell SOAPUI to use the latest JDK 1.7.0_45-b18 instead of JRE 1.7.0_03.  I looked at the soapui-settings.xml, but no joy.</p>
  
  <p>Any advice on how to remedy this would be greatly appreciated. </p>