Error after upgrading my mongoDB subscription

I get this error
pymongo.errors.ServerSelectionTimeoutError: **** [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate …"
It worked perfectly fine before I upgraded my subscription. Now for some reason it does not work

I think this stackoverflow article outlines the fix. Basically you have to run a script to update your certificates.

1 Like