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.
-
On the Output Engine server, open the configuration file of MongoDB in an editor:
C:\ProgramData\SEAL Systems\config\mongod.conf
-
Replace the following line:
allowInvalidCertificates: true
by this line:
CAFile: C:\ProgramData\SEAL Systems\config\tls\ca.pem
-
Save the configuration file.
-
Restart MongoDB:
sudo systemctl restart mongod