working ssl setup