Download CA Identity Cert&key
    • PDF

    Download CA Identity Cert&key

    • PDF

    Article Summary

    Download the certificate and KEY of Identity Enrolled to CA

    Request

    Request URL

    POST {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}/identity/{identityName}/certAndKey
    

    Request Parameter

    Parameter NameRequired statusTypeRestrictionDescription
    networkIdYeslongPath ParameterNetwork ID
    caIdYesStringPath Parameter CA ID
    identityNameYesStringPath Parameter Identity name

    Example of Request

    curl -X POST "http://blockchainservice.apigw.ntruss.com/api/v1/networks/{networkId}/cas/{caId}/identity/{identityName}/certAndKey  \
        -H "x-ncp-apigw-timestamp: {x-ncp-apigw-timestamp}" \
        -H "x-ncp-iam-access-key: {x-ncp-iam-access-key}"  \
        -H "x-ncp-apigw-signature-v2: {x-ncp-apigw-signature-v2}"
        -H  "accept: application/octet-stream"
    

    Response

    Response Body

    • content-type: application/octet-stream
    CategoryTypeDescription
    statusStringIndicates whether response was successful
    file.typeStringIdentity type (orderer, peer, client)
    file.tls_certStringTLS certification (encorded base64)
    file.tls_keyStringTLS KEY (encorded base64)
    file.certStringcertification (encorded base64)
    file.keyStringKEY (encorded base64)

    Example of Response

    {
      "type" : "orderer",
      "tls_key" : "LS.....==",
      "tls_cert" : "LS.....==",
      "name" : "orderer",
      "cert" : "LS.....==",
      "key" : "LS.....=="
    }
    

    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.