Forum Discussion

Denno's avatar
Denno
New Contributor
9 years ago

SSLhandshakeException when invoking open AWS API?

When I try to invoke my open AWS API (AWS API Manager service), I get a SSLhandshakeException. While if I would use the browser (Atried Chrome and Firefox) to do my GET request, it works fine... 

 

 

I'm not using any proxy, or other special SSL/TLS settings, just a vanilla SoapUI 5.2.1 install. 

Also no authentication in my request, it's an open API, but SoapUI seems to refuse the SSL handshake, while my browser doesn't.

 

I tried to add the AWS server certificate to my cacerts file already, but that doesn't matter. 

It makes no sense to me. Someone have any idea? 

 

Thanks!

Dennis

 

 

Sun Jan 17 13:57:37 CET 2016:ERROR:javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
   javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
   	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
   	at sun.security.ssl.Alerts.getSSLException(Unknown Source)
   	at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
   	at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
   	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
   	at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
   	at sun.security.ssl.AppOutputStream.write(Unknown Source)
   	at org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:131)

 

2 Replies

  • Denno's avatar
    Denno
    New Contributor
    Hmz, thinking it through a bit and some more reading and checking, I found that my browser and AWS are communicating over TLS 1.2. While reading another topic on TLS communication, does SoapUI support TLS 1.2 as a vanilla install? They are talking about setting certain JVM arguments.
    How can I do that? Kinda embarrassed to ask this, but where can I set those arguments for my windows binary installation? I start SoapUI as an exe, not as a POJA which I can give those arguments. Is there some file where I should set those arguments?

    Thanks!