Skip to main content
Solved

Unable to access API using HTTPCaller

  • Oct 14, 2019 12:31 PM UTC
  • 3 replies
  • 222 views

Forum|alt.badge.img+1

Hi

I am trying to connect to an open data API which contains geoJSON using the HTTPCaller. However I am getting the following error message: SSL peer certificate or SSH remote key was not OKI

I was able to get the geoJSON when I copied the API URL directly into the IE browser.

Does anyone know what settings I need to set on the HTTPCaller to be able to access the geoJSON through FME?

I am using FME2019.1 Desktop

Thanks,

Best answer by david_r

In the HTTPCaller, try turning SSL certificate validation off (under client options).
View original
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

Forum|alt.badge.img+1
  • Author
  • Oct 14, 2019 12:34 PM UTC

I just answered my own question. I set 'Verify SSL Certificates' to 'No' in the HTTPCaller and this enabled me to read the API successfully.


david_r
Celebrity
  • Best Answer
  • Oct 14, 2019 12:34 PM UTC
In the HTTPCaller, try turning SSL certificate validation off (under client options).

Forum|alt.badge.img+1
  • Author
  • Oct 14, 2019 12:34 PM UTC
In the HTTPCaller, try turning SSL certificate validation off (under client options).

Thanks @david_r I just figured that out too!! :)