Initial work for ssl