Skip to main content

I got an error from FME 2019.2 and FME 2022.1. The error is " Python Exception <OSError>: Could not find a suitable TLS CA certificate bundle, invalid path: C:\\Program Files\\PostgreSQL\\15\\ssl\\certs\\ca-bundle.crt".

Anyone has idea how to fix?

What are you doing to cause this error message?


What are you doing to cause this error message?

I was reading a feature service from ArgGIS Portal using reader.


I was reading a feature service from ArgGIS Portal using reader.

@blue_star​ 

What type of authentication are you using with the ArcGIS Portal Reader? If you're using a web connection, check that you've setup your web service according to these instructions: https://community.safe.com/s/article/How-to-create-an-FME-Web-Connection-for-Esri-ArcGIS-Portal-Feature-Service-OAuth-2-0

Additionally if you're able to share a copy of your log file from running the workspace that would help too.


@blue_star Hi there, just in case you’re still encountering this error, I think there’s something worth checking on. Could you have a look at your system Environment Variables, and see if any of the following are present:

CURL_CA_BUNDLE
REQUESTS_CA_BUNDLE
SSL_CERT_FILE
SSL_CERT_DIR

If you see any of these system environment variables, have a look at their value. Do you see any of them pointing to C:\Program Files\PostgreSQL\15\ssl\certs\ca-bundle.crt

You can access your Environment Variables by opening File Explorer, then right-clicking on This Computer and selecting Properties. Once your System > About page pops open, you'll see Advanced system settings located just beneath the Device specifications information. Choose Advanced system settings, and then choose Environment Variables in the dialog that pops up.

Let us know what you see; a screenshot is very welcome!

 


Reply