parameters: (self, cert_id, path, domain)
docstring: Copies CA cert(s) from a file path
  
          :param cert_id:
              The identifier for CA cert(s). For those provided by the channel
              system, this will be an md5 of the contents of the cert(s). For
              user-provided certs, this is something they provide.
  
          :param path:
              The absolute filesystem path to a file containing the CA cert(s)
  
          :param domain:
              The domain name the cert is for
  
          :return:
              The contents of the CA cert(s)
docstring_summary: Copies CA cert(s) from a file path
docstring_tokens: Copies CA cert ( s ) from a file path
function: def load_cert(self, cert_id, path, domain):
          """
          Copies CA cert(s) from a file path
  
          :param cert_id:
              The identifier for CA cert(s). For those provided by the channel
              system, this will be an md5 of the contents of the cert(s). For
              user-provided certs, this is something they provide.
  
          :param path:
              The absolute filesystem path to a file containing the CA cert(s)
  
          :param domain:
              The domain name the cert is for
  
          :return:
              The contents of the CA cert(s)
          """
  
          if os.path.exists(path):
              if self.settings.get('debug'):
                  console_write(u"Copying CA cert for %s from \"%s\"" % (domain, path), True)
              with open_compat(path, 'rb') as f:
                  return f.read()
          else:
              raise NoCaCertException(u"Unable to find CA cert for %s at \"%s\"" % (domain, path), domain)
function_tokens: def load_cert ( self , cert_id , path , domain ) : if os . path . exists ( path ) : if self . settings . get ( 'debug' ) : console_write ( u"Copying CA cert for %s from \"%s\"" % ( domain , path ) , True ) with open_compat ( path , 'rb' ) as f : return f . read ( ) else : raise NoCaCertException ( u"Unable to find CA cert for %s at \"%s\"" % ( domain , path ) , domain )