mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use 'tlsCAFile' instead of deprecated 'ssl_ca_certs' (#5080)
This commit is contained in:
parent
3869a6f1d0
commit
689d29abff
2 changed files with 3 additions and 3 deletions
|
|
@ -224,7 +224,7 @@ class OpenPypeMongoConnection:
|
|||
"serverSelectionTimeoutMS": timeout
|
||||
}
|
||||
if should_add_certificate_path_to_mongo_url(mongo_url):
|
||||
kwargs["ssl_ca_certs"] = certifi.where()
|
||||
kwargs["tlsCAFile"] = certifi.where()
|
||||
|
||||
mongo_client = pymongo.MongoClient(mongo_url, **kwargs)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue