Connection to database via SSL