Note that there are some explanatory texts on larger screens.

plurals
  1. POProxyServlet with SSL
    primarykey
    data
    text
    <p>I have some <a href="http://www.mortbay.org/xref/org/mortbay/servlet/ProxyServlet.html" rel="nofollow noreferrer">proxy servlet</a>: <a href="http://img395.imageshack.us/img395/2770/capturei.png" rel="nofollow noreferrer">alt text http://img395.imageshack.us/img395/2770/capturei.png</a>, and I want to make the connection(con A and con B on the diagram) to this servlet secure(with SSL). This proxy works under Maven Jetty Plugin. I have configured jetty to handle ssl request:</p> <pre><code> &lt;connector implementation="org.mortbay.jetty.security.SslSocketConnector"&gt; &lt;port&gt;8443&lt;/port&gt; &lt;maxIdleTime&gt;30000&lt;/maxIdleTime&gt; &lt;keystore&gt;D:\Projekt\Proxy\keystore&lt;/keystore&gt; &lt;password&gt;test&lt;/password&gt; &lt;keyPassword&gt;test&lt;/keyPassword&gt; &lt;/connector&gt; </code></pre> <p>But when i try to go through this proxy (with browser), i have received an Exception:</p> <pre><code>javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection? at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(InputRecord.java:523) at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:355) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:789) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1112) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1139) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1123) at org.mortbay.jetty.security.SslSocketConnector$SslConnection.run(SslSocketConnector.java:631) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520) </code></pre> <p>Where can be the problem, or how I can do it by another way?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload