* Fix crash when a CA certificate failed to load, by protecting some calls