Skip to content

Specifying a CA Certificate


If a CA certificate has been specified, MongoDB requires a client certificate from each client, i. e. from all Output Engine services that access MongoDB. This requires corresponding properties of the certificate.

  1. On the Output Engine server, open the configuration file of MongoDB in an editor:

    C:\ProgramData\SEAL Systems\config\mongod.conf
    
  2. Replace the following line:

    allowInvalidCertificates: true
    

    by this line:

    CAFile: C:\ProgramData\SEAL Systems\config\tls\ca.pem
    
  3. Save the configuration file.

  4. Restart MongoDB:

    sudo systemctl restart mongod
    

Back to top