to use ssl connections ssl varialble must be differ than None.