does not crash when there are no certificates (should fix #20130121-136C24)