Troubleshooting¶
Invalid SSL Certificate in SEAL MongoDB¶
If your system crashes with a fatal assertion 28652, the reason may be an invalid SSL certificate for SEAL MongoDB.
Check the validity of the SSL certificate as follows:
-
In an editor, open the MongoDB configuration file:
-
Linux:
/opt/seal/etc/mongod.conf -
Windows:
C:\ProgramData\SEAL Systems\config\mongod.conf
-
-
Replace the line:
CAFile: C:\ProgramData\SEAL Systems\config\tls\ca.pemby the following line:
allowInvalidCertificates: true -
Save the configuration file.
-
Restart MongoDB:
-
Linux:
sudo systemctl restart mongod -
Windows:
restart-service seal-mongodb
-
If you can verify the problem this way, continue as follows.
Solution:
-
Check, whether the date is set correctly in the system time.
-
Check the validity of the PEM file.
Hint - checking PEM files
You can use the openssl commands to explore the details of a certificate, e. g.
openssl x509 -in mycert.pem -text -nooutIf you do not have installed openssl, you can use a web tool to check the certificate.
-
If necessary, replace the the invalid certificate file with a new PEM file.
-
Undo the previous temporary changes in the SEAL MongoDB configuration file.
-
Restart MongoDB.
MongoDB Allocates too Much Disk Space¶
MongoDB gets too big, because it does not automatically release unneeded disk space to the operating system.
Solution:
The compact database command attempts to reduce the disk space, see original documentation.