getting SSL working