Cannot send the test request / SSL Certificate Error

Trying to initiate a MuleSoft AnyPoint studio Web Service running locally on my machine by issuing a GET in Katalon via a REST Object to my exposed endpoint:


Katalon returns error: "Cannot send the test request
Reason: Host name ‘localhost’ does not match the certificate subject provided by the peer.

Error details: Host name ‘localhost’ does not match the certificate subject provided by the peer (CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown) at org.apache.http.conn.ssl.SSLConnectionSocketFactory.verifyHostname( 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.client.InternalHttpClient.doExecute(
at org.apache.http.impl.client.CloseableHttpClient.execute(
at com.kms.katalon.core.webservice.common.RestfulClient.response(
at com.kms.katalon.core.webservice.common.RestfulClient.sendRequest(
at com.kms.katalon.core.webservice.common.RestfulClient.send(
at com.kms.katalon.controller.WebServiceController.sendRequest(
at org.eclipse.jface.operation.ModalContext$

Note that I am able to connect to the Web Service fine using SoapUI and Postman.

Also, I do have my JKS added to Project > Settings > Network.

Hi @ASUMichael,
Which version of Katalon are you using?

7.0.6 Build 1 Thanks @huynguyen

i do have same problem with Katalon_Studio_Windows_64-7.0.6 .
i already enabled Bypass Certificate Validation in Project settings -> Network.

when i try to downgrade to Katalon_Studio_Windows_64-6.3.3, the same project will running well.

I have the same problem with Katalon version 7.0.6

Hi @ASUMichael, @fransiskamayalestari, @amit.mohabir,
We will address this issue in tomorrow update.

1 Like

That is great news @huynguyen. Thanks for your very prompt replies and fix!

@huynguyen I downloaded the latest version and my request to localhost works now! Thanks for your prompt fix.

1 Like


Me too…thanks for your hard work @huynguyen

The issue is still coming on 7.2.1 and 7.3 version. Though By Pass Certificate Validation is enabled the SSL certificate error is coming