resolve ssl problems