Service: zimbraAdmin

Command: GetDomainCert
Namespace: urn:zimbraAdmin
Description: Get Domain Certificate
Gets the certificate of a requested domain.
Properties:
Authorization token required true
Admin Authorization token required true

GetDomainCertRequest

    <GetDomainCertRequest domain="{domain id}" /> ## GetDomainCertRequest

elements and attributes you can define within a <GetDomainCertRequest> element:

XPath Required / Optional Description
@domain Required (only 1) Type: String
a domain id whose cert is to be got

GetDomainCertResponse

    <GetDomainCertResponse [domain="{domain-name}"]> ## GetDomainCertResponse
        <cert [server="{server-name}"] [type="{type}"]> ## CertInfo
            <subject>{subject} (String)</subject>
            <issuer>{issuer} (String)</issuer>
            <notBefore>{notBefore} (String)</notBefore>
            <notAfter>{notAfter} (String)</notAfter>
            <SubjectAltName>{SubjectAltName} (String)</SubjectAltName>
         </cert>
    </GetDomainCertResponse>

elements and attributes you can define within a <GetDomainCertResponse> element:

XPath Required / Optional Description
@domain Optional (0 or 1) Type: String
Domain name
/cert Optional (0 or 1) Certificate information
/cert@server Optional (0 or 1) Type: String
Server name
/cert@type Optional (0 or 1) Type: String
type - 1 of mta|ldap|mailboxd|proxy|staged
/cert/subject Optional (0 or 1) Type: {subject} (String)
C, ST, L, O, OU, CN of current cert
/cert/issuer Optional (0 or 1) Type: {issuer} (String)
C, ST, L, O, OU, CN of issuer cert
/cert/notBefore Optional (0 or 1) Type: {notBefore} (String)
Certificate validation start time
/cert/notAfter Optional (0 or 1) Type: {notAfter} (String)
Certificate validation end time
/cert/SubjectAltName Optional (0 or 1) Type: {SubjectAltName} (String)
Current cert's subject alternative name (as x509v3 Extension)