def certificates(config):
 parsed_certs = []
 parse_failures = []
 for renewal_file in storage.renewal_conf_files(config):
  try:
   renewal_candidate = storage.RenewableCert(renewal_file, config)
   parsed_certs.append(renewal_candidate)
  except Exception as e:
   logger.warning('Renewal configuration file %s produced an unexpected error: %s. Skipping.', renewal_file, e)
   logger.debug('Traceback was:\n%s', traceback.format_exc())
   parse_failures.append(renewal_file)
 _describe_certs(config, parsed_certs, parse_failures)

def certificates ( config ) : parsed_certs = [ ] parse_failures = [ ] for renewal_file in storage . renewal_conf_files ( config ) : try : renewal_candidate = storage . RenewableCert ( renewal_file , config ) parsed_certs . append ( renewal_candidate ) except Exception as e : logger . warning ( 'Renewal configuration file %s produced an unexpected error: %s. Skipping.' , renewal_file , e ) logger . debug ( 'Traceback was:\n%s' , traceback . format_exc ( ) ) parse_failures . append ( renewal_file ) _describe_certs ( config , parsed_certs , parse_failures )
display information about certs configured with certbot .