Connect MongoDB using SSH Tunnel and SSL in Python

Viewed 24

I am trying to connect MongoDB to python using ssh tunnel and SSL. I have configured DocumentDB in AWS and want to connect it.

I have found some resources connecting using just SSH Tunnel or SSL but not both together. I have a hard time connecting it.

I have an SSH Identity file and an SSL file, both are .pem

Any help would be appreciated.

0 Answers
Related