Skip to main content
Question

Python Exception <OSError>: Could not find a suitable TLS CA certificate bundle, invalid path.


blue_star
Participant
Forum|alt.badge.img+3

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?

4 replies

hkingsbury
Celebrity
Forum|alt.badge.img+53
  • Celebrity
  • October 2, 2023

What are you doing to cause this error message?


blue_star
Participant
Forum|alt.badge.img+3
  • Author
  • Participant
  • October 2, 2023
hkingsbury wrote:

What are you doing to cause this error message?

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


danminneyatsaf
Safer
Forum|alt.badge.img+12
blue_star wrote:

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.


natalieatsafe
Safer
Forum|alt.badge.img+11

@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!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings