File tree 1 file changed +0
-18
lines changed
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -421,21 +421,3 @@ partially-converted asynchronous version of the same name to the `test/asynchron
421
421
Use this generated file as a starting point for the completed conversion.
422
422
423
423
The script is used like so: ` python tools/convert_test_to_async.py [test_file.py] `
424
-
425
- ## Running PyMongo with SSL
426
- Note that ` AsyncMongoClient ` does not support PyOpenSSL.
427
- Assuming all required packages are installed, set the ` tls ` and ` tlsAllowInvalidCertificates ` flags in the URI to enable
428
- the driver to connect with SSL, like so:
429
- ``` python
430
- from pymongo import MongoClient
431
-
432
- client = MongoClient(
433
- " mongodb://localhost:27017?tls=true&tlsAllowInvalidCertificates=true"
434
- )
435
- ```
436
- Another way of doing this would be to pass these options in as parameters to the MongoClient, like so:
437
- ``` python
438
- client = MongoClient(
439
- " mongodb://localhost:27017" , tls = True , tlsAllowInvalidCertificates = True
440
- )
441
- ```
You can’t perform that action at this time.
0 commit comments