Bug/app crashes if there is no anonymous certificate #5310