I was not able to connect as the title states. I was getting SSL peer certificate validation failed messages.
- Verified I had the right connection string
- Verified I had the IP whitelist
- Installed and trusted the digicert certificate I found in this post
None of these worked until I added an SSL bypass for .mongodb.net/ in my web proxy. This then allowed me to connect. Hopefully this might save someone else some time.