Home Ask Login Register

Developers Planet

Your answer is one click away!

Grin like a Cheshire cat February 2016

How to configure ssl in mongodb?

I have followed document to configure ssl in mongodb. But no luck.The mongod service doesnot start after configuring ssl in mongo.conf. I have gone through and looks like i need to use Scon first to support SSL/TLS. Can anyone please share steps or document, I need to follow first . I am using mongo version 2.6


lrakai February 2016

This wiki should cover everything you need to build from source using scons. Ensure you have the correct ssl package installed as mentioned in the System Specific Requirements. Your scons command will look

scons mongod --ssl

If you are able to upgrade to mongodb 3.0+ from 2.6 most distributions include ssl support.

Post Status

Asked in February 2016
Viewed 2,227 times
Voted 14
Answered 1 times


Leave an answer

Quote of the day: live life