diff --git a/check_xmppng b/check_xmppng index 6987c61..8ee96d1 100755 --- a/check_xmppng +++ b/check_xmppng @@ -335,14 +335,6 @@ class Xmpp(nagiosplugin.Resource): context.load_verify_locations(**kwargs) else: context.load_default_certs() - stats = context.cert_store_stats() - if stats['x509_ca'] == 0: - _LOG.info( - "tried to load CA certificates from default locations, but" - " could not find any CA certificates.") - raise XmppException('no CA certificates found') - else: - _LOG.debug('certificate store statistics: %s', stats) return context def initiate_tls(self):