MongoDB client-server SSL encryption + auth + inMemory storage engine demo

by akira-kurogane
GNU/Linux ◆ rxvt-unicode-256color ◆ bash 2086 views

Using the inMemory storage engine has a complication if used in combination with authentication - as the user info is stored in a normal collection it will be lost if the mongod process is stopped. So it must be done without restarts.

Using SSL/x509 tickets makes using the localhost exception (to create the first user) difficult, but there is still a way. Please see this demonstration to see how.