Help on REST with error : Request not sent to uri = :org.apache.commons.httpclient.HttpException: javax.net.ssl.SSLPeerUnverifiedException: peer not
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 09:08 PM
Hi,
In Rest message I'm using POST method and I need to get 200 response. But I facing the following issue
HTTP Status: 0
Error Message: "Request not sent to uri= : org.apache.commons.httpclient.HttpException: javax.net.ssl.SSLPeerUnverifiedException: peer not"
Error code: 1
Could anyone please help in to resolve the above issue.
Thanks in advance.
Regards,
Shashank
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-06-2021 02:56 AM
Hope you are doing good.
Did my reply answer your question?
Would you mind marking the best matching answer as correct and helpful, to close this thread?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2024 12:07 PM
Hello Ankur,
i was getting a different error
"org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted"
however, setting this property to false worked for me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 07:44 AM - edited 09-30-2024 07:45 AM
I think one more thing to comment on is that you are disabling yet another security step on your instance, so think twice before doing this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2024 04:30 PM
Indeed Karinamel, we are reviewing this with our customer security team.