Download certificates
    • PDF

    Download certificates

    • PDF

    Article summary

    Can be used in a VPC environment.

    Description

    Download a certificate.

    Request

    Request URL

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/downloadCertificate/{service-group-instance-no} [KR]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/sgn-v1/cluster/downloadCertificate/{service-group-instance-no} [SGN]
    GET https://clouddatastreamingservice.apigw.ntruss.com/api/jpn-v1/cluster/downloadCertificate/{service-group-instance-no} [JPN]
    

    Request headers

    HeaderDescription
    x-ncp-apigw-timestampThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC.
    If the time difference compared to the API Gateway server is more than 5 minutes, then the request is considered invalid.
    x-ncp-apigw-timestamp:{Timestamp}
    x-ncp-iam-access-keyThis is the Access Key ID value issued by the Naver Cloud Platform.
    x-ncp-iam-access-key:{Account Access Key}
    x-ncp-apigw-signature-v2This is the signature encrypted Access Key ID value and Secret Key.
    x-ncp-apigw-signature-v2:{API Gateway Signature}
    Content-TypeSpecifies the request body content type as application/json
    Content-Type: application/json

    Request parameters

    ParameterTypeRequired statusDescription
    serviceGroupInstanceNoStringYThis is the cluster number to download certificates.

    Request example

    GET https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/downloadCertificate/1484848
    HOST: clouddatastreamingservice.apigw.ntruss.com
    Content-Type: application/json
    x-ncp-apigw-signature-v2: zq0FrtlU8JZJi9esTK31bCQUNG3H+jo4CMjMkJDoWSc=
    x-ncp-apigw-timestamp: 1593848345548
    x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw
    
    curl -X GET "https://clouddatastreamingservice.apigw.ntruss.com/api/v1/cluster/downloadCertificate/1484848" \
    -H "accept: application/json" \
    -H "Content-Type: application/json" \
    -H "x-ncp-iam-access-key: 7fIvgFY428mtY6sY8maw" \
    -H "x-ncp-apigw-timestamp: 1601971222179" \
    -H "x-ncp-apigw-signature-v2: zrCelnR48AADdK/uh6Xe3yy468i8KpQoewYHUmeqYh4=" 
    

    Response parameters

    public class GetCertFileResponseVo {
        String certification;
    }
    

    Field

    Parameter nameTypeDescription
    certificationStringCertificate file content

    Response example

    {
      "code": 0,
      "message": "SUCCESS",
      "result": {
        "certification": "-----BEGIN CERTIFICATE-----MIIC9TCCAd2gAwIBAgIJAPrGB4+gzgjjMGCSqGSIb3DQEBCwUAMBExDzANBgNVBAMMBlJPT1RDQTAeFw0yMDEwMjYwMjU4NTdaFw0zMDEwMjQwMjU4NTdaMBExDzAN\nBgNVBAMMBlJPT1RDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMxN\n6vMH/Y4uYQHTbft+7nHS+dYt5UCeup9OD9KOJ1Oy2h26n4Yc5KxPowsvoML/sKfs\nrcJjhGD/pYEOUoREALXCZ4pH+zpnMs4Mp+TG95qF/StBUjZupS2OnsPJMaaoRiR8\nBHhec4EMFoj6dpdICmg12VkpSIixr+Z2MHXnXI/AwKJrjCNdQzoHX9NSJd8ah75h\nA0aGnv4uz8CtZotKPxiTtr9rvaxdzprrPZzbUFU+eUOl3urFVbDGWsh8rCOsQw8Z\nf4IKz3F7g6a2bap9xnyaNdlUkTfVF8CDWVf6DwcuHxeMu+kSQgDryfcwqFl6ndUB\nTVNGHusK/2Bn2NeU2I8CAwEAAaNQME4wHQYDVR0OBBYEFALUAMAZcvQy4mPsDsd+\n8bPA1VPSMB8GA1UdIwQYMBaAFALUAMAZcvQy4mPsDsd+8bPA1VPSMAwGA1UdEwQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBAJQz35rC/aOmAjtfhNj08836UkIKJkI/\nJ4XM4mEK1zpkF52C8O2WG5oeh+C4peen+df1QWDrzCqS9urknICG3eV6rmrc4OoT\nAAdNcdmeVqVhjqBC0F9cstHNt75gP9ESZywbYMHT/4JUOne/7R4EsTNDLHphReaO\nYw2uGA6bgimEwc02ZUNe31cN5Rh9Xvt1qHWo1H8yi2Z/HYTMS7NvQZ2EV08X087w\nXk5aPTiCnp/M7ETDmffgkecerzs+PdwlaiqHs5xZ7/f2u0nMordw3wPTU2MhZqyN\nU94NsMynAt4UJxSeiTnyLMR8mUvlBNH4DtR4PpA0YZKYpoAizmJZIY0=\n-----END CERTIFICATE-----\n"
      },
      "requestId": "487bd160-0c79-48b6-9ce2-e7cfb5d3134e"
    }
    

    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.