ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Unable to connect to Jaspersoft Studio - SSLHandshakeException: Remote host closed connection during handshake


Article ID: 223171


Updated On:


Clarity PPM SaaS Clarity PPM On Premise


When trying to connect to the Jaspersoft Studio, the below error is thrown in the Studio popup window:

 faultCode: {}Server.userException
 faultString: Remote host closed connection during handshake
 {} Remote host closed connection during handshake
 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(
 at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(
 at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(
 at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(
 at org.apache.http.impl.execchain.MainClientExec.establishRoute(
 at org.apache.http.impl.execchain.MainClientExec.execute(
 at org.apache.http.impl.execchain.ProtocolExec.execute(
 at org.apache.http.impl.execchain.RetryExec.execute(
 at org.apache.http.impl.execchain.RedirectExec.execute(
 at org.apache.http.impl.client.InternalHttpClient.doExecute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at org.apache.http.impl.client.CloseableHttpClient.execute(
 at org.apache.http.client.fluent.Request.internalExecute(
 at org.apache.http.client.fluent.Executor.execute(
 at org.apache.axis.strategies.InvocationStrategy.visit(
 at org.apache.axis.SimpleChain.doVisiting(
 at org.apache.axis.SimpleChain.invoke(
 at org.apache.axis.client.AxisClient.invoke(
 at org.apache.axis.client.Call.invokeEngine(
 at org.apache.axis.client.Call.invoke(
 at org.apache.axis.client.Call.invoke(
 at org.apache.axis.client.Call.invoke(
 at org.apache.axis.client.Call.invoke(
 at org.eclipse.jface.operation.ModalContext$
Caused by: SSL peer shut down incorrectly
 ... 37 more


Add the certificates in the keystore folder:

  1. Download the certificate from the server
  2. Run keytool -import -alias jasperserver -file C:\test.cer -keystore c:\keystore\jasperServer
  3. This will create a folder/keystore with your certificates
  4. Add the\keystore\jasperServer &<password> in your Jaspersoft studio .ini file (This file is usually under the location C:\Program Files\TIBCO\Jaspersoft Studio  Professional-7.9.0/Jaspersoft Studio Professional.ini
  5. Save the changes and restart the Jaspersoft Studio

Additional Information

See also: