Hi,
I am trying to do something similar with a self-signed certificate from mongodb for DataGerry.
https://community.datagerry.com/t/advice-sought-on-configuring-data-gerry-with-mongodb-over-tls-with-self-signed-ca/
Did you have any luck?