ssl integration fix