Hi,
I try to configure Membrane Router to enable clients that do not support SSL to communicate with a SSL secured server.
After some problem with my own SSL server and to avoid Certificate issue, I've try to use Membrane sample include in package (examples/ssl-client).
I have customize the proxies.xml example to add my proxy configuration :
<router>
<httpClientConfig>
<proxy host="gateway.xxx.yyyy.net" port="80" />
</httpClientConfig>
<serviceProxy port="8880">
<target host="www.google.de" port="443">
<ssl ignoreTimestampCheckFailure="true" />
</target>
</serviceProxy>
</router>
You can see errors log in file attachment, see an extract here :
Extension server_name, server_name: [host_name: gateway.xxxx.yyyyy.net]
***
RouterThread /172.31.170.152:2105, WRITE: TLSv1 Handshake, length = 202
RouterThread /172.31.170.152:2105, received EOFException: error
RouterThread /172.31.170.152:2105, handling exception: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
RouterThread /172.31.170.152:2105, SEND TLSv1 ALERT: fatal, description = handshake_failure
RouterThread /172.31.170.152:2105, WRITE: TLSv1 Alert, length = 2
RouterThread /172.31.170.152:2105, called closeSocket()
javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
[...]
Caused by: java.io.EOFException: SSL peer shut down incorrectly
at sun.security.ssl.InputRecord.read(InputRecord.java:352)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:893)
... 17 more
In fact this exactly the same error than I do my first test with my own SSL server.
I'm very new to membrane, perhaps I have forget something...
Any help are very appreciate.
Thanks by advance,
Best Regards.