I tried to setup TLS authentication for my sharded cluster. Created a secret with base64 encoded cert keys. The encoded certs are in format of ca.crt tls.crt and tls.key
And mentioned in cluster.yaml
QUERY [js] uncaught exception: TypeError: db.isMaster(…).$configServerState is undefined :
[main] exiting with code -4
Exit: connect to PBM: create mongo connection: create mongo client: tls: private key does not match public key
- What should be certificate format included in secret?
- Is there any extended cert configuration so that we can add our own cluster issuer like venafi