We can connect to your MongoDB instances using SSL but it may require some changes to the agent if you are using certificate files.
This article is outdated and will eventually be removed.
If you are not using certificate files
You can just specify ?ssl=true
in the connection string e.g. in step 2 of the installation instructions, then specify mongodb://hostname:port/?ssl=true
as part of the config.
If you are using certificate files
If you are using cert files then you'll need to tell the agent where they are. Add these 2 lines to your agent config file:
mongodb_keyfile: /path/to/key.file mongodb_certfile: /path/to/cert.file
Comments