I am trying to deploy a MongoDB with TLS authenticated (following these steps https://docs.mongodb.com/kubernetes-operator/master/tutorial/secure-tls/). My database works properly when TLS is not enabled. The kubernetes mongo operator properly creates the csrs and I am able to approve them but then I receive the following error:
NETWORK [main] cannot read certificate file: /mongodb-automation/server.pem error:0906D06C:PEM routines:PEM_read_bio:no start line
CONTROL [main] Failed global initialization: InvalidSSLConfiguration: can not set up PEM key file
As these certificates are created by the kubernetes mongo system, I am unsure as to why they would not work/what I am missing.
Any advise/information/ideas would be greatly appreciated!
Thank you in advanced,