Mid Server : org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted

mshetty794
Kilo Contributor

I see mid server is up and running in my dev instance, when https call is made via mid server fails with below error

The request failed: Request not sent to uri= <host>: org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted

Can some one help.

 

Instance Version Quebec

2 REPLIES 2

Kaarthiprakash
ServiceNow Employee
ServiceNow Employee

Hello MShetty,

You must first verify if a self-signed cert or a trusted CA certificate is being used. If you are using a self-signed certificate or a certificate signed by an internal CA, you must make a change.

Please import the needed certificate to the MID Server truststore to your instance.

You can follow this KB article for reference

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0864241

If you are stuck with import process you can consult with the network team of your organization to assist you with updating certificate chains. 

 

Hope this help!

If this answers your query appreciate if you hit "Helpful"

Jha
Kilo Contributor

Hello,

Could you please brief more about the below statement 

Please import the needed certificate to the MID Server truststore to your instance.

Also the share link is not working anymore .

Thank you

Jha