Added the ssl in hibernate.cfg.xml