Skip to content

Commit e477676

Browse files
committed
change parameter tlsCAFile
1 parent 71e335d commit e477676

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
username=mongodb_user,
2525
password=mongodb_password,
2626
ssl=True, # Enable SSL
27-
ssl_ca_certs=ssl_cert_path # Provide the path to the certificate
27+
tlsCAFile=ssl_cert_path # Provide the path to the certificate
2828
)
2929
else:
3030
client = motor.motor_asyncio.AsyncIOMotorClient(

0 commit comments

Comments
 (0)