do ssl initialization