@@ -65,36 +65,36 @@ To connect and authenticate using x.509 client certificate:
6565
6666- For MongoDB 4.2 or greater, include the following options for the client:
6767
68- - :option:`--tls <mongosh --tls>` (or the deprecated :option:`--ssl
69- <mongosh --ssl>` option)
68+ - :option:`--tls <mongo --tls>` (or the deprecated :option:`--ssl
69+ <mongo --ssl>` option)
7070
71- - :option:`--tlsCertificateKeyFile <mongosh --tlsCertificateKeyFile>`
71+ - :option:`--tlsCertificateKeyFile <mongo --tlsCertificateKeyFile>`
7272 (or the deprecated :option:`--sslPEMKeyFile
73- <mongosh --sslPEMKeyFile>` option)
73+ <mongo --sslPEMKeyFile>` option)
7474
75- - :option:`--tlsCertificateKeyFilePassword <mongosh --tlsCertificateKeyFile>`
75+ - :option:`--tlsCertificateKeyFilePassword <mongo --tlsCertificateKeyFile>`
7676 (or the deprecated :option:`--sslPEMKeyPassword
77- <mongosh --sslPEMKeyPassword>` option) if the certificate key file is encrypted
77+ <mongo --sslPEMKeyPassword>` option) if the certificate key file is encrypted
7878
7979 - :option:`--authenticationDatabase '$external'
80- <mongosh --authenticationDatabase>`
80+ <mongo --authenticationDatabase>`
8181
8282 - :option:`--authenticationMechanism MONGODB-X509
83- <mongosh --authenticationMechanism>`
83+ <mongo --authenticationMechanism>`
8484
8585- For MongoDB 4.0 and earlier, include the following options for the client:
8686
87- - :option:`--ssl <mongosh --ssl>`
87+ - :option:`--ssl <mongo --ssl>`
8888
89- - :option:`--sslPEMKeyFile <mongosh --sslPEMKeyFile>`
89+ - :option:`--sslPEMKeyFile <mongo --sslPEMKeyFile>`
9090
91- - :option:`--sslPEMKeyPassword <mongosh --sslPEMKeyPassword>` option if
92- the :option:`--sslPEMKeyFile <mongosh --sslPEMKeyFile>` is encrypted.
91+ - :option:`--sslPEMKeyPassword <mongo --sslPEMKeyPassword>` option if
92+ the :option:`--sslPEMKeyFile <mongo --sslPEMKeyFile>` is encrypted.
9393
9494 - :option:`--authenticationDatabase '$external'
95- <mongosh --authenticationDatabase>`
95+ <mongo --authenticationDatabase>`
9696
97- - :option:`--authenticationMechanism MONGODB-X509 <mongosh --authenticationMechanism>`
97+ - :option:`--authenticationMechanism MONGODB-X509 <mongo --authenticationMechanism>`
9898
9999You can also make the TLS/SSL connection first, and then use
100100:method:`db.auth()` in the ``$external`` database to authenticate.
0 commit comments