title: Problem with JMeter and HTTP Proxy Server with SSL
body: <p>We are using JMeter 2.4 and are trying to use the HTTP Proxy Server to capture a test plan.</p>
  
  <p>"Attempt HTTPS spoofing" is not ticked.</p>
  
  <p>The error we get in the JMeter log is:</p>
  
  <p>2010/08/02 14:46:02 ERROR - jmeter.protocol.http.proxy.Proxy: <strong>Problem with SSL certificate? Ensure browser is set to accept the JMeter proxy cert:</strong><br>
  Connection closed by remote host 
  2010/08/02 14:46:02 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Error Response Code: 404<br>
  2010/08/02 14:46:02 INFO  - jmeter.protocol.http.sampler.HTTPSampler: Error Response Code: 404<br>
  2010/08/02 14:46:02 ERROR - jmeter.protocol.http.proxy.Proxy:  java.net.SocketException:   Connection closed by remote host<br>
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.checkWrite(Unknown Source)<br>
      at com.sun.net.ssl.internal.ssl.AppOutputStream.write(Unknown Source)<br>
      at java.io.BufferedOutputStream.flushBuffer(Unknown Source)<br>
      at java.io.BufferedOutputStream.flush(Unknown Source)<br>
      at org.apache.jmeter.protocol.http.proxy.Proxy.writeToClient(Proxy.java:443)<br>
      at org.apache.jmeter.protocol.http.proxy.Proxy.run(Proxy.java:264)  </p>
  
  <p>Any ideas?</p>