Proper fix for cert problems.