Outbound Rest Error: peer not authenticated

James100
Kilo Expert

Hi

I'm trying to get response from an https api with ServiceNow outbound rest, but got this error - org.apache.commons.httpclient.HttpException: javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated.

I can get response with browser or Postman.

I've got the certificates from browser and uploaded them into SN in pem and der mode. I've also set 'com.glide.communications.httpclient.verify_hostname' to false. But the error remains.

Can somebody help me out?

find_real_file.png

5 REPLIES 5

DirkRedeker
Mega Sage

Hi

For the certificate uploaded to ServiceNow, did you cut out the given part as described in?

https://docs.servicenow.com/bundle/london-security-management/page/product/security-operations-commo...

Have you also tried to access without using a auth profile?

Let me know.

BR

Dirk

 

Hi Dirk,

Yes, I did as described in the doc. also tried using api key without auth profile. not working...

Hi

OK.

Maybe this article may help you

 

https://community.servicenow.com/community?id=community_question&sys_id=9b1e5d461bc1c450a59033f2cd4bcb14

 

BR Dirk

James100
Kilo Expert

Hi

I've got response via SNow MID Server (on my local pc) ...

But I have no budget to buy/rent a server for production environment.

So is there any way that I don't have to use MID Server?

Or is there any free MID Server for production env?