apply fix for enforced ssl