IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

Handshake Failure

  • 1.  Handshake Failure

    Posted Wed January 27, 2016 01:35 PM

    Am getting the below error while i am sending the file through TN (webMethodsTN → Client) via outbound proxy

    [61185]2016-01-27 18:25:59 CET [TNS.0002.1082I] com.wm.app.b2b.server.ServiceException: java.net.ConnectException: Connection timed out: connect
    [61184]2016-01-27 18:25:38 CET [ISC.0064.0015T] Opening Socket https://integration.com:443/my
    [61183]2016-01-27 18:25:38 CET [ISC.0064.0029T] Could not open Socket connection to proxy:80=proxy.test.com Exception:iaik.security.ssl.SSLException: Peer sent alert: Alert Fatal: handshake failure
    [61182]2016-01-27 18:25:38 CET [ISC.0064.0017T] Proxy Header <–Connection established
    [61181]2016-01-27 18:25:38 CET [ISC.0064.0014T] Opening Socket https://integration.com:443/my proxy:80=proxy.test.com

    What might be the issue?
    Is there any problem with the proxy at our side/client side?
    Is there any issue with the Certificates?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: Handshake Failure

    Posted Wed January 27, 2016 03:09 PM

    Looks like a SSL handshake issue.
    add this:
    watt.ssl.iaik.debug=true
    in the extended setting. it should write SSL debug log, you can see how the handshake happens


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 3.  RE: Handshake Failure

    Posted Thu January 28, 2016 01:14 AM

    I have already added this extended field, still showing the same, no additional messages.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 4.  RE: Handshake Failure

    Posted Thu January 28, 2016 02:56 AM

    Krishna – which wM version you are on ?

    Have you added certificates at your side or partner side or was there any installation for new certificate renewals ?

    Thanks,


    #webMethods-General
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Handshake Failure

    Posted Thu January 28, 2016 03:38 AM

    Thanks Man.

    We are using 8.2.2v. We have added the certs at our end, I am checking with the client on the same whether they have added our keys at their trust store or not.

    Let me check and then come back to you.

    Do you want me to check any other things like proxy/firewall rules?


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 6.  RE: Handshake Failure

    Posted Thu January 28, 2016 03:57 AM

    first make sure both the ends using the same certificate, secondly think of no firewall rules affecting the communication on either side. Share me your mail id or write me @anynonymoushelper@gmail.com

    Thanks,


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 7.  RE: Handshake Failure

    Posted Thu January 28, 2016 04:04 AM

    Thanks for your help.

    I will check and let you know in case of any issues.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 8.  RE: Handshake Failure

    Posted Thu January 28, 2016 09:08 AM

    It seems to be issue with the SSL version.

    Client is getting the below error:

    ERROR [https-exchanger-1661583] (2016-01-28 11:53:26,243) - /80.22.24.28:42130 cannot process i/o
    javax.net.ssl.SSLException: Connection has been shutdown: javax.net.ssl.SSLHandshakeException: SSLv2Hello is disabled
    at sun.security.ssl.SSLSocketImpl.checkEOF(SSLSocketImpl.java:1496)
    at sun.security.ssl.AppInputStream.read(AppInputStream.java:92)
    at transport.blockingip.IpsExchanger.run(IpsExchanger.java:90)
    Caused by: javax.net.ssl.SSLHandshakeException: SSLv2Hello is disabled
    at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:598)
    at sun.security.ssl.InputRecord.read(InputRecord.java:504)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:934)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
    at sun.security.ssl.SSLSocketImpl.getSession(SSLSocketImpl.java:2191)
    at transport.blockingip.IpsExchanger.(IpsExchanger.java:45)
    at transport.blockingip.https.HttpsExchanger.(HttpsExchanger.java:32)
    at transport.blockingip.IpsServerConnector.run(IpsServerConnector.java:238)
    at java.lang.Thread.run(Thread.java:745)

    Now they are trying to modify their SSL settings to accept SSLv2.

    Any other comments/suggestions?


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 9.  RE: Handshake Failure



  • 10.  RE: Handshake Failure

    Posted Thu January 28, 2016 10:53 AM

    Thanks .I will check this and come back to you in case of any concerns.


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 11.  RE: Handshake Failure

    Posted Fri January 29, 2016 08:28 AM

    I have set the below extended properties to overcome this issue.

    watt.net.ssl.client.strongcipheronly=true
    watt.net.ssl.client.handshake.maxVersion=tls
    watt.net.ssl.client.handshake.minVersion=sslv3

    I will comeback in case of there is any other issues on this.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 12.  RE: Handshake Failure

    Posted Fri January 29, 2016 09:27 AM

    Hi Krishna,

    the recommended settings are (diasbling SSL v2 and SSL v3 completely):

    
    watt.net.jsse.client.enabledProtocols=TLSv1,TLSv1.1,TLSv1.2
    watt.net.jsse.server.enabledProtocols=TLSv1,TLSv1.1,TLSv1.2
    watt.net.ssl.client.handshake.maxVersion=tls
    watt.net.ssl.client.handshake.minVersion=tls
    watt.net.ssl.server.handshake.maxVersion=tls
    watt.net.ssl.server.handshake.minVersion=tls

    When you partner only can connect using SSL v2, you will have to modify the server settings not the client settings.

    server=inbound
    client=outbound

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 13.  RE: Handshake Failure

    Posted Fri January 29, 2016 09:32 AM

    Thanks Holger.

    But will it not be impact the other clients who are using the sslv2 for inbound and outbound?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 14.  RE: Handshake Failure

    Posted Fri January 29, 2016 09:38 AM

    Hi Krishna,

    sure. This will affect all clients connecting to the IS.

    But once again:
    You should try to get all Partners to upgrade their systems to use at least TLS v1 or higher for security reasons.

    Looks like TLS v1 and TLS v1.1 are also considered buggy/unsecure meanwhile.

    Regards,
    Holger


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 15.  RE: Handshake Failure

    Posted Fri January 29, 2016 09:44 AM

    Ok, But we can try to support all protocols by implement the setting like below…

    watt.net.ssl.client.handshake.maxVersion=tls
    watt.net.ssl.client.handshake.minVersion=sslv2
    watt.net.ssl.server.handshake.maxVersion=tls
    watt.net.ssl.server.handshake.minVersion=sslv2

    will it work without impacting the other clients?


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods


  • 16.  RE: Handshake Failure

    Posted Fri January 29, 2016 09:54 AM

    Hi Krishna,

    I think you have bad luck in this case as IS does not support being reached by SSL v2 at all.

    Here is the snippet for this issue from the IS_8.2_SP2_Core_Fix15_readme.txt:

    Regards,
    Holger


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 17.  RE: Handshake Failure

    Posted Fri January 29, 2016 10:16 AM

    Thanks for your helpful information and will let you know in case of any issues.


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 18.  RE: Handshake Failure

    Posted Sun January 31, 2016 04:08 AM

    Krishna – I was a little busy with work, so could not able to read the posts, what’s going on this ?

    Thanks,


    #webMethods
    #Integration-Server-and-ESB
    #webMethods-General


  • 19.  RE: Handshake Failure

    Posted Sun January 31, 2016 11:30 AM

    Hey, Have added below parameters to resolve this issue, Still we are in testing phase, will let you know in case of any issues.

    watt.net.ssl.client.handshake.minVersion=tls
    watt.net.ssl.client.handshake.maxVersion=sslv3


    #webMethods-General
    #webMethods
    #Integration-Server-and-ESB


  • 20.  RE: Handshake Failure

    Posted Mon February 01, 2016 06:17 AM

    Hi Krishna,

    please swap the two settings, as TLS is a higher ssl version than SSL v3:

    watt.net.ssl.client.handshake.minVersion=sslv3
    watt.net.ssl.client.handshake.maxVersion=tls

    Regards,
    Holger


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 21.  RE: Handshake Failure

    Posted Mon February 01, 2016 07:45 AM

    sorry Holger, typo error, You are correct.


    #Integration-Server-and-ESB
    #webMethods-General
    #webMethods