added ssl to mongoid template