Specifying a CA Certificate¶
If a CA certificate has been specified, MongoDB requires a client certificate from each client, i. e. from all PLOSSYS 5 services that access MongoDB. This requires corresponding properties of the certificate.
-
On the PLOSSYS 5 server, edit the configuration file of MongoDB:
C:\ProgramData\SEAL Systems\config\mongod.conf -
Replace the following line:
allowInvalidCertificates: trueby this line:
CAFile: C:\ProgramData\SEAL Systems\config\tls\ca.pem -
Save the configuration file.
-
Restart MongoDB:
seal-mongodb