Hi, I am running MongoDB as a deployment(setup done using Enterprise Operator) and I renewed the tls certificates and updated the Kubernetes secret and restarted the workload but seeing the following error on MongoDB:
{"logType":"mongodb","contents":"{\"t\":{\"$date\":\"2023-11-16T19:52:47.268+00:00\"},\"s\":\"E\", \"c\":\"NETWORK\", \"id\":23248, \"ctx\":\"-\",\"msg\":\"Cannot read certificate file\",\"attr\":{\"keyFile\":\"/mongodb-automation/tls/ZWMUG3LULZQCV47WAHBGAUZKTM2HZND64KSLPGANGVEISVN6CNNQ\",\"error\":\"error:02001002:system library:fopen:No such file or directory\"}}"}
{"logType":"mongodb","contents":"{\"t\":{\"$date\":\"2023-11-16T19:52:47.268+00:00\"},\"s\":\"F\", \"c\":\"CONTROL\", \"id\":20574, \"ctx\":\"-\",\"msg\":\"Error during global initialization\",\"attr\":{\"error\":{\"code\":140,\"codeName\":\"InvalidSSLConfiguration\",\"errmsg\":\"Can not set up PEM key file.\"}}}"}
It seems MongoDB is still referencing old certificate file which is no longer present instead of using the new certificate file.