securing up ssl connection