Who can explain mongodb with ssl?
When you create the self signed certificate, you need to use a valid host name in the "Common Name" field, e.g.:


  Common Name (eg, your name or your server's hostname) []: host.domain.com


If you want use a domain certificate, you need to change "host" with "*", e.g.:


  Common Name (eg, your name or your server's hostname) []: *.domain.com