Difference between revisions of "Aws acm describe-certificate"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
* <code>[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[DomainName]]</code>
 
* <code>[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[DomainName]]</code>
 
* <code>[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[serial]]</code>
 
* <code>[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[serial]]</code>
* <code>[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[Status]]</code>
+
[[aws acm]] describe-certificate --certificate-arn XXXXXX | grep [[Status]]
 +
              "ValidationStatus": "[[PENDING_VALIDATION]]",
 +
        "Status": "PENDING_VALIDATION",
  
 +
 +
[[aws acm]] describe-certificate --certificate-arn arn:aws:acm:eu-central-1:0123456789:certificate/XXe361b1-1234-1245-8c8e-a403a39761TT
 +
<pre>
 +
{
 +
    "Certificate": {
 +
        "CertificateArn": "arn:aws:acm:eu-central-1:0123456789:certificate/XXe361b1-1234-1245-8c8e-a403a39761TT",
 +
        "DomainName": "your_subdomain.your_domain.com",
 +
        "SubjectAlternativeNames": [
 +
            "your_subdomain.your_domain.com"
 +
        ],
 +
        "DomainValidationOptions": [
 +
            {
 +
                "DomainName": "your_subdomain.your_domain.com",
 +
                "ValidationDomain": "your_subdomain.your_domain.com",
 +
                "ValidationStatus": "PENDING_VALIDATION",
 +
                "ResourceRecord": {
 +
                    "Name": "_11a22470b370cf55088d45a765879a3a.12345677.your_domain.com.",
 +
                    "Type": "CNAME",
 +
                    "Value": "_b8a655b865d4a1234334545.mybbdzzyvz.acm-validations.aws."
 +
                },
 +
                "ValidationMethod": "DNS"
 +
            }
 +
        ],
 +
        "Subject": "CN=your_subdomain.your_domain.com",
 +
        "Issuer": "Amazon",
 +
        "CreatedAt": "2022-05-06T12:19:37.674000+02:00",
 +
        "Status": "PENDING_VALIDATION",
 +
        "KeyAlgorithm": "RSA-2048",
 +
        "SignatureAlgorithm": "SHA256WITHRSA",
 +
        "InUseBy": [],
 +
        "Type": "AMAZON_ISSUED",
 +
        "KeyUsages": [],
 +
        "ExtendedKeyUsages": [],
 +
        "RenewalEligibility": "INELIGIBLE",
 +
        "Options": {
 +
            "CertificateTransparencyLoggingPreference": "ENABLED"
 +
        }
 +
    }
 +
}
 +
</pre>
  
 
== Related ==
 
== Related ==
* [[ResourceStatusReason]]
+
* <code>[[ResourceStatusReason]]</code>
 +
* <code>[[aws acm request-certificate]]</code>
  
 
==See also==
 
==See also==

Latest revision as of 15:02, 6 May 2022

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/acm/describe-certificate.html

  • aws acm describe-certificate --certificate-arn XXXXXX
  • aws acm describe-certificate --certificate-arn XXXXXX | grep DomainName
  • aws acm describe-certificate --certificate-arn XXXXXX | grep serial
aws acm describe-certificate --certificate-arn XXXXXX | grep Status
             "ValidationStatus": "PENDING_VALIDATION",
       "Status": "PENDING_VALIDATION",


aws acm describe-certificate --certificate-arn arn:aws:acm:eu-central-1:0123456789:certificate/XXe361b1-1234-1245-8c8e-a403a39761TT
{
    "Certificate": {
        "CertificateArn": "arn:aws:acm:eu-central-1:0123456789:certificate/XXe361b1-1234-1245-8c8e-a403a39761TT",
        "DomainName": "your_subdomain.your_domain.com",
        "SubjectAlternativeNames": [
            "your_subdomain.your_domain.com"
        ],
        "DomainValidationOptions": [
            {
                "DomainName": "your_subdomain.your_domain.com",
                "ValidationDomain": "your_subdomain.your_domain.com",
                "ValidationStatus": "PENDING_VALIDATION",
                "ResourceRecord": {
                    "Name": "_11a22470b370cf55088d45a765879a3a.12345677.your_domain.com.",
                    "Type": "CNAME",
                    "Value": "_b8a655b865d4a1234334545.mybbdzzyvz.acm-validations.aws."
                },
                "ValidationMethod": "DNS"
            }
        ],
        "Subject": "CN=your_subdomain.your_domain.com",
        "Issuer": "Amazon",
        "CreatedAt": "2022-05-06T12:19:37.674000+02:00",
        "Status": "PENDING_VALIDATION",
        "KeyAlgorithm": "RSA-2048",
        "SignatureAlgorithm": "SHA256WITHRSA",
        "InUseBy": [],
        "Type": "AMAZON_ISSUED",
        "KeyUsages": [],
        "ExtendedKeyUsages": [],
        "RenewalEligibility": "INELIGIBLE",
        "Options": {
            "CertificateTransparencyLoggingPreference": "ENABLED"
        }
    }
}

Related[edit]

See also[edit]

Advertising: