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

it's my solution of #2251