cancel
Showing results for 
Search instead for 
Did you mean: 

I am using Ready API 1.7 and getting SSL Handshake Alert: unrecognized name Issue. Pls help.

Highlighted
New Member

I am using Ready API 1.7 and getting SSL Handshake Alert: unrecognized name Issue. Pls help.

Hello,

 

I am using Ready API 1.7. I am facing issue "SSL Handshake Alert: Unrecognized Name". I have included the certificate in SSL Settings. 

Interestingly, it is working fine in Soap UI 5.0 and 5.2 but not in Ready API.

 

Please help if anyone has an idea how to resolve this. I have tried almost everything available on various forums.

 

Issue description: Logs

  • Wed Jun 01 00:49:52 MST 2016:ERROR:Exception in request: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
  • Wed Jun 01 00:49:52 MST 2016:ERROR:An error occurred [handshake alert: unrecognized_name], see error log for details
  • Wed Jun 01 00:49:52 MST 2016:INFO:Error getting response for [https://lem.devearndp.app.aexp.com.Acquisition:Request 1]; javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name

Error Logs:

 

  • Wed Jun 01 00:50:21 MST 2016:ERROR:javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
  • javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
  • at sun.security.ssl.ClientHandshaker.handshakeAlert(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.conn.LoggingOutputStream.write(LoggingOutputStream.java:77)
  • at org.apache.http.impl.io.SessionOutputBufferImpl.streamWrite(SessionOutputBufferImpl.java:126)
  • at org.apache.http.impl.io.SessionOutputBufferImpl.flushBuffer(SessionOutputBufferImpl.java:138)
  • at org.apache.http.impl.io.SessionOutputBufferImpl.flush(SessionOutputBufferImpl.java:146)
  • at org.apache.http.impl.io.ContentLengthOutputStream.flush(ContentLengthOutputStream.java:101)
  • at org.apache.http.entity.ByteArrayEntity.writeTo(ByteArrayEntity.java:117)
  • at org.apache.http.impl.DefaultBHttpClientConnection.sendRequestEntity(DefaultBHttpClientConnection.java:158)
  • at org.apache.http.impl.conn.CPoolProxy.sendRequestEntity(CPoolProxy.java:162)
  • at org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:237)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpRequestExecutor.doSendRequest(HttpClientSupport.java:396)
  • at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:122)
  • at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:271)
  • at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
  • at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
  • at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
  • at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
  • at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$SoapUIHttpClient.doExecute(HttpClientSupport.java:160)
  • at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport$Helper.execute(HttpClientSupport.java:485)
  • at com.eviware.soapui.impl.wsdl.support.http.HttpClientSupport.execute(HttpClientSupport.java:552)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.submitRequest(HttpClientRequestTransport.java:326)
  • at com.eviware.soapui.impl.wsdl.submit.transports.http.HttpClientRequestTransport.sendRequest(HttpClientRequestTransport.java:242)
  • at com.eviware.soapui.impl.wsdl.WsdlSubmit.run(WsdlSubmit.java:120)
  • at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
  • at java.util.concurrent.FutureTask.run(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
  • at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
  • at java.lang.Thread.run(Unknown Source)

 

1 REPLY 1
Highlighted
Moderator

Re: I am using Ready API 1.7 and getting SSL Handshake Alert: unrecognized name Issue. Pls help.

Hello,

 

A good explanation of why the issue occurs can be found in this thread: http://stackoverflow.com/questions/7615645/ssl-handshake-alert-unrecognized-name-error-since-upgrade...

 

To work around it in R!API, which is a Java application, try adding the following option in the "<ReadyAPI-1.7.0 Installation>\bin\ReadyAPI-1.7.0.vmoptions" file:

-Djsse.enableSNIExtension=false

Natalie
Customer Care Team

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others.↓↓↓↓↓
New Here?
Join us and watch the welcome video:
Top Kudoed Authors