- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2023 12:41 PM
Hello,
My get rest method is not functioning correctly when setting it up without authentication.
Error Message: Request not sent to uri= https://randomuser.me/api/?results=20 : org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted
I am attaching a screenshot of the rest method configuration. It is a test API for random users when used from the browser and postman it works perfectly.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2023 03:26 PM
The solution was to download the ssl cert from the server using the browser and imported into the ServiceNow table sys_certificate. This was only in my new PDI, old instances that migrated from previews versions did not have this issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2023 05:09 PM
Hi Jose,
Get the certificate of the web server you are trying to connect to. In my case I simply used the web browser to access it saving it to a .pem file. I then proceeded to create a new record on the sys_certificate table and populated the pem certificate field with the content of the pem file created, name it and save it. That would be it.