remove hg with bad ssl