How to fix SSL error: Self signed certificate...

here is the Screenshot for more details.

we tried in neywork setting->bypass certificate validation but not worked…

Could anyone help this pls??

1 Like

@aquadir - Are you using Latest Version of KS ? if not please update and try again.

Sorry @aquadir, You did not give enough information to have anyone help you. Please see this post: [TIP] How To Help Us Help You! - #43 by

more info required to help out!!

Also check is there any proxy configuration from your end.

1 Like

@atul.rai , I am using Katalon_Studio_Windows_64-8.6.6 , i think this one is latest version

@Dave_Evers , @dineshh

Here is the log view error code attached…
com.kms.katalon.core.exception.StepErrorException: org.codehaus.groovy.runtime.InvokerInvocationException:


@atul.rai where to check proxy configuration ??
kindly guide with the navigation?

this is kind of xml issues as you have shared , please refer xml - How to fix error: The markup in the document following the root element must be well-formed - Stack Overflow

In the StackTrace we can find the following lines:

Please show us the source code of

  • apitc
  • PHGAPI.groovy

here apitc code

and PHGAPI code is here

Can uh plz check now??

1 Like

Possibly you have a problem in your Test Object Object Repository/PAYMENT_HUB_API/DemosignMsgpack008. Please show the definition of the Test Object, especially the URL part

I have a doubt the Port part of the URL. It might contain a [ character, which caused the org.apachee.tomcat.util.http.parser.Host.parse() method to raise an exception,.

url not contain a [ character, nothing like that…

Why don’t you show the screenshot of the URL to us?

I would tell you how to investigate the Exception raised by org.apache.tomcat.util.http.parser.HttpParser.

You should read the source code of Tomcat.

The screenshot you shared tells that org.apache.tomcat.util.http.parser.Host.parse( is interesting:

You can download the source of Tomcat 9.0.80 from

スクリーンショット 2023-09-05 20.35.53

Download it, unzip it, open the archive with your favorites text edior and find the source org.apache.tomcat.util.http.parser.Host.parse(


    private static int parse(Reader reader) {
        try {
            int first =;
            if (HttpParser.isAlpha(first)) {
                return HttpParser.readHostDomainName(reader);
            } else if (HttpParser.isNumeric(first)) {
                return HttpParser.readHostIPv4(reader, false);
            } else if ('[' == first) {
                return HttpParser.readHostIPv6(reader);    // LINE#71
            } else {

Tomcat tried to parse the URL which your test case aptc sent. The URL has Host which contains a [ character. Parser class tried to read Host in IPv6 format; and failed. … This is the story the StackTrace tells to us.

I am sure Katalon Studio created a HTTP Archive (HAR) file in which includes all of HTTP Request and HTTP Rersponse messages exchanged. Just look into it to find out what URL string your aptc sent to Tomcat.


Why is this post titled as “How to fix SSL error: Self signed certificate…” ?
I would advise you to change the title to something more appropriate.

and after unzip which folder need to open in editor??

Please, read my previous post more carefully:

okay… then from what exact code should copy to my script??

Hey Can uh plz guide here?