Connect to mongo db with cert