Re-generate the sample config.
@@ -119,6 +119,8 @@ ssl_ca_certs = None
ssl_certfile = None
# Connection retry backoff max (seconds).
connection_retry_backoff_max_s = 10
+# If True and `ssl_cert_reqs` is not None, enables hostname verification
+ssl_match_hostname = True
# Specifies whether a certificate is required from the other side of the connection, and whether it will be validated if provided
ssl_cert_reqs = None
# Create the connection to mongodb using SSL
@@ -133,8 +135,8 @@ connection_retry_backoff_mul = 1
authentication_mechanism = None
# Private keyfile used to identify the local connection against MongoDB.
ssl_keyfile = None
-# If True and `ssl_cert_reqs` is not None, enables hostname verification
-ssl_match_hostname = True
+# Connection and server selection timeout (in ms).
+connection_timeout = 3000
# password for db login
password = None
# port of db server
