computing / Client / describe_ssl_certificates

describe_ssl_certificates

computing.Client.describe_ssl_certificates(**kwargs)

指定したSSL証明書の情報を取得します。

SSL証明書を指定するためには、SSL証明書の発行識別子(fqdnId)またはFQDNが必要です。指定しない場合は、取得可能なすべてのSSL証明書の情報を取得します。

See also: NIFCLOUD API Documentation

Request Syntax

response = client.describe_ssl_certificates(
    Fqdn=[
        'string',
    ],
    FqdnId=[
        'string',
    ]
)
Parameters:
  • Fqdn (list) –

    • (string) –

  • FqdnId (list) –

    • (string) –

Return type:

dict

Returns:

Response Syntax

{
    'CertsSet': [
        {
            'CaState': True|False,
            'CertAuthority': 'string',
            'CertInfo': {
                'CountryName': 'string',
                'EmailAddress': 'string',
                'LocationName': 'string',
                'OrganizationName': 'string',
                'OrganizationUnitName': 'string',
                'StateName': 'string'
            },
            'CertState': 'string',
            'Count': 123,
            'Description': 'string',
            'Fqdn': 'string',
            'FqdnId': 'string',
            'KeyLength': 123,
            'Period': {
                'EndDate': datetime(2015, 1, 1),
                'StartDate': datetime(2015, 1, 1),
                'ValidityTerm': 123
            },
            'UploadState': True|False
        },
    ],
    'RequestId': 'string'
}

Response Structure

  • (dict) –

    • CertsSet (list) –

      • (dict) –

        • CaState (boolean) –

        • CertAuthority (string) –

        • CertInfo (dict) –

          • CountryName (string) –

          • EmailAddress (string) –

          • LocationName (string) –

          • OrganizationName (string) –

          • OrganizationUnitName (string) –

          • StateName (string) –

        • CertState (string) –

        • Count (integer) –

        • Description (string) –

        • Fqdn (string) –

        • FqdnId (string) –

        • KeyLength (integer) –

        • Period (dict) –

          • EndDate (datetime) –

          • StartDate (datetime) –

          • ValidityTerm (integer) –

        • UploadState (boolean) –

    • RequestId (string) –