initial ssl work