Fix to force ssl