org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2023 09:25 AM - edited 04-03-2023 06:59 AM
I am using Virtual Agent REST API. I have my outbound REST message configured to use no authentication, and I have also tried basic authentication. In both cases, I am now getting the above error in the subject.
I have also validated my destination URL and hostname certificate with CURL and CHROME. In both tools, they report that our certificate is valid.
This was working earlier this week; what is going on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-02-2023 02:10 AM
Hi, please try disabling Certificate Check Policy for mentioned endpoint and let us know if it helped.
By the way, do you run integration over MID server? Might it be endpoint uses self-signed certificate?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2023 05:33 AM
Where is that setting? I"m not using a MID server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2023 07:50 AM
Hi, these are security policies of MID server, if you do not have them - they are not applicable.
Please check if the solution in this post addresses a need.