La poignée de main SSL a échoué: localhost: 27017

#run this in your terminal

sudo /Applications/Python\ 3.7/Install\ Certificates.command

#If you use other python version, only change versión number (In my case, i have Python 3.7)

Fierce Flatworm