Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-8074

Question about net.ssl.mode documentation

      https://docs.mongodb.org/manual/reference/configuration-options/#net.ssl.mode

      I am not completely sure whether I don't understand the following paragraph or if it should be the other way around:

      If the client presents a certificate and the mongos or mongod has net.ssl.allowConnectionsWithoutCertificates enabled, the mongos or mongod will validate the certificate using the root certificate chain specified by CAFile and reject clients with invalid certificates.

      I would have expected that if allowConnectionsWithoutCertificates is enabled it would accept connections without a valid certificate, and not the other way around. Or does this mean that if this is enabled and a certificate is given by the connection, then it has to be a valid certificate but connections without a certificate would be accepted as well?

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            kai.orend@mongodb.com Kai Orend
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              5 years, 27 weeks, 1 day ago