Download CA Identity Cert&key
- Print
- PDF
Download CA Identity Cert&key
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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 Name | Required status | Type | Restriction | Description |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | Network ID |
caId | Yes | String | Path Parameter | CA ID |
identityName | Yes | String | Path 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
Category | Type | Description |
---|---|---|
status | String | Indicates whether response was successful |
file.type | String | Identity type (orderer, peer, client) |
file.tls_cert | String | TLS certification (encorded base64) |
file.tls_key | String | TLS KEY (encorded base64) |
file.cert | String | certification (encorded base64) |
file.key | String | KEY (encorded base64) |
Example of Response
{
"type" : "orderer",
"tls_key" : "LS.....==",
"tls_cert" : "LS.....==",
"name" : "orderer",
"cert" : "LS.....==",
"key" : "LS.....=="
}
Was this article helpful?