View certificate list
    • PDF

    View certificate list

    • PDF

    Article Summary

    Summary

    Views a list of certificates.

    Request

    Request URL

    GET {CLOUD_IOT_CORE_API_URL}/certifications
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Sub Account Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    Request parameters

    Parameter nameRequired statusTypeRestrictionsDescription
    pageNointPage number. Default: 0
    sizeNointSize of result list. Default: 10

    Response

    Response body

    {
        "status": "string",
        "body": {
            "content": [
                {
                    "status": "string",
                    "commonName": "string",
                    "ncpPcaCert": {
                        "serialNo": "string",
                        "privateKey": "string",
                        "certificate": "string",
                        "caChain": "List<string>",
                        "issuer": "string"
                    },
                    "notBeforeDate": "localDateTime",
                    "notAfterDate": "localDateTime",
                    "modifyTime": "localDateTime",
                    "registerTime": "localDateTime"
                }
            ],
            "page": {
                "size": "long",
                "totalElements": "long",
                "totalPages": "long",
                "number": "long"
            }
        }
    }
    
    CategoryTypeDescription
    statusstringIndicates whether response was successful
    body.content[].statusstringCertificate status
    body.content[].commonNamestringCertificate CommonName
    body.content[].ncpPcaCert.serialNostringCertificate's serial number
    body.content[].ncpPcaCert.privateKeystringCertificate PrivateKey
    body.content[].ncpPcaCert.certificatestringClient certificate
    body.content[].ncpPcaCert.cachainstringChain certificate
    body.content[].ncpPcaCert.issuerstringRoot certificate
    body.content[].notBeforeDatelocalDateTimeCertificate effective date
    body.content[].notAfterDatelocalDateTimeCertificate expiration date
    body.content[].modifyTimelocalDateTimeCertificate last modified date
    body.content[].registerTimelocalDateTimeCertificate issuance date

    Example

    {
        "status": "SUCCESS",
        "body": {
            "content": [
                {
                    "status": "ENABLE",
                    "commonName": "FWeG8BUuKr1rSNGI29h4UOEu18Riohcb3u5su2Ue4u4",
                    "ncpPcaCert": {
                        "serialNo": "2e:a9:db:1b:2c:c6:0d:ad:ce:4e:3d:59:83:61:d0:d1:19:af:38:7b",
                        "privateKey": "-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAs+TvA5HTfuXoWd78pM/+JN8YYtlOugT5cFcYgqCZ73u9NK0Z\nsTgkoFyiJXnmZlaDYy2Twi/PYSNHsx87CBO7vUKjwxDTQRSEdUc629CsJv3S2HIe\nF1VmMlkmzhg3QEBn8dkIBA1o/kOaKBwaTnVD6Tu3g++AdQ+4S1oKUwSBvYpvzap2\nhWe20kjZzH9Pd4f046W\n-----END RSA PRIVATE KEY-----",
                        "certificate": "-----BEGIN CERTIFICATE-----\nMIIETTCCAzWgAwIBAgIULqnbGyzGDa3OTj1Zg2HQ0RmvOHswDQYJKoZIhvcNAQEL\nBQAwPzELMAkGA1UEBhMCS1IxDDAKBgNVBAoTA05CUDESMBAGA1UECxMJQ2xvdWQg\nSW9UMQ4wDAYDoDmvpt9wI2OnGfsU4wkV1LVaoWKnX6jT5UmivAsLneYZ7+kUfyTPpJj/OJ\nBw==\n-----END CERTIFICATE-----",
                        "caChain": [
                            "-----BEGIN CERTIFICATE-----\nMIIEHTCCAwWgAwIBAgIUO2We35z7x7cfA+iXtArWRxqf16QwDQYJKoZIhvcNAQEL\nBQAwQnpEgXJTXz7Z/Ct1Dmb8CakbxuDO5XTy1yPTXG0xTwOCGjW7sbvXfNWfiYEkemHH0M\ncA==\n-----END CERTIFICATE-----",
                            "-----BEGIN CERTIFICATE-----\nMIIDbzCCAlegAwIBAgIUCigJQwuG7KF0xuHqTx7K1q2ADYcwDQYJKoZIhvcNAQEL\nBQAwONIXVD/Cu1hkH2V2Kj+8sCvhnZy8\nD4ntdwWgu+xHXIrxzDnNd0KdFKH1zTLTb6FF/X7tK0IiY8BlpqOjxIilkllkLBUx\nKPoeobWyUWG3siOTv3ZLnsLb1g==\n-----END CERTIFICATE-----",
                            "-----BEGIN CERTIFICATE-----\nMIIDZzCCAk+gAwIBAgIUBg0zMgb/1aHlcmv5d63ApeUq9ZYwDQYJKoZIhvcNAQEL\nBQAwOXCfW2XE2DrXnZKW5a8VN\nkA3yaWD91vCeD7s=\n-----END CERTIFICATE-----"
                        ],
                        "issuer": "-----BEGIN CERTIFICATE-----\nMIIEHTCCAwWgAwIBAgIUO2We35z7x7cfA+iXtArWRxqf16QwDQYJKoZIhvcNAQEL\nBQAwQCm3F4I\nUljmp/Ltj6O8raOpm/VoR30kKKRlMRxE0IjI6auoAWk/jpXOtl/dAzlKcSd+bE9M\npEgXJTXz7Z/Ct1Dmb8CakbxuDO5XTy1yPTXG0xTwOCGjW7sbvXfNWfiYEkemHH0M\ncA==\n-----END CERTIFICATE-----"
                    },
                    "notBeforeDate": "2020-09-15 17:11:32",
                    "notAfterDate": "2030-06-21 11:21:42",
                    "modifyTime": "2020-09-15 21:33:53",
                    "registerTime": "2020-09-15 17:12:04"
                }
            ],
            "page": {
                "size": 10,
                "totalElements": 1,
                "totalPages": 1,
                "number": 0
            }
        }
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.