code: def getCaCerts(self):
          '''
          Return a list of CA certs from the CertDir.
  
          Returns:
              [OpenSSL.crypto.X509]: List of CA certificates.
          '''
          retn = []
  
          path = s_common.genpath(self.certdir, 'cas')
  
          for name in os.listdir(path):
              if not name.endswith('.crt'):
                  continue
  
              full = s_common.genpath(self.certdir, 'cas', name)
              retn.append(self._loadCertPath(full))
  
          return retf getCaCerts(self):
          '''
          Return a list of CA certs from the CertDir.
  
          Returns:
              [OpenSSL.crypto.X509]: List of CA certificates.
          '''
          retn = []
  
          path = s_common.genpath(self.certdir, 'cas')
  
          for name in os.listdir(path):
              if not name.endswith('.crt'):
                  continue
  
              full = s_common.genpath(self.certdir, 'cas', name)
              retn.append(self._loadCertPath(full))
  
          return retn
docs: Return a list of CA certs from the CertDir.
  
          Returns:
              [OpenSSL.crypto.X509]: List of CA certificates.