def METHOD_NAME(self):
    """Add Root/Intermediate certificates to SSLKeyAndCertificates Object.
    :return: Certificate list for type CA.
    """
    chaingroup_list = list()
    crypto_obj = self.parsed.get('crypto', '')
    #name = crypto[0]['chaingroup']
    certificate_list = list()
    if not crypto_obj:
        return certificate_list
    certs = crypto_obj[0].get('cert', [])
    for cert_name in certs:
        ssl_c_obj = None
        cert = None
        ca_cert = None
        name = cert_name.split('.')[0]
        key_and_cert = None
        cert_file = cert_name
        cert_loc = '%s/%s' % (self.in_path, cert_name)
        if not os.path.isfile(cert_loc):
            cert_loc = None
        if cert_loc:
            cert = self.get_cert_obj(name, cert_file, self.in_path)
        if cert and name:
            ca_cert = {
                "type": "SSL_CERTIFICATE_TYPE_CA",
                "certificate": cert,
                "tenant_ref": self.tenant_ref,
                "name": name,
            }
        if ca_cert:
            certificate_list.append(ca_cert)
    for obj in crypto_obj:
        if obj.has_key("chaingroup"):
            name = obj["chaingroup"]
        if obj.has_key("csr-params"):
            name = obj["csr-params"]
        update_excel('crypto', name, avi_obj=obj)
    return certificate_list