I have enabled TLS with server and client validation but unable connect using Compass client, any ideas what this error means and how I can fix it?
Client cert being used is in .cer format.
mongod.conf:
net:
tls:
mode: requireTLS
certificateKeyFile: <location of .pem file>
certificateKeyFilePassword: "<password>"
CAFile: <location of CA .pem file>
Error message received:
2020-03-24T13:34:25.089+0000 I NETWORK [listener] connection accepted from <IP Address:Port number of client> (1 connection now open)
2020-03-24T13:34:25.106+0000 E NETWORK [conn180] no SSL certificate provided by peer; connection rejected
2020-03-24T13:34:25.106+0000 I NETWORK [conn180] Error receiving request from client: SSLHandshakeFailed: no SSL certificate provided by peer; connection rejected. Ending connection from <IP Address:Port number of client> (connection id: 180)
2020-03-24T13:34:25.106+0000 I NETWORK [conn180] end connection <IP Address:Port number of client> (0 connections now open)