x.509 authentication

MongoDB support for x.509 certificates offers an alternative approach for authentication.  x.509 (https://en.wikipedia.org/wiki/X.509) is an internationally recognized standard which defines public key certificates issued by trusted certificate authorities (https://en.wikipedia.org/wiki/Certificate_authority) that are used to encrypt a message, and mathematically related private keys which are used to decrypt the message. This forms the basis of HTTPS as well as TLS and SSL (Secure S0ckets Layer).

In order to use x.509 certificates, you need to configure MongoDB to use SSL/TLS (see the Transport Security Layer section for more details).  If you wish to allow users to authenticate using unique x.509 user certificates, ...

Get MongoDB 4 Quick Start Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.