CA Identity 인증서/키 다운로드
- 인쇄
- PDF
CA Identity 인증서/키 다운로드
- 인쇄
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
CA에 Enroll한 Identity 의 인증서와 KEY를 다운로드 합니다.
요청
요청 URL
POST {BLOCKCHAINSERVICE API_URL}/networks/{networkId}/cas/{caId}/identity/{identityName}/certAndKey
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
networkId | Yes | long | Path Parameter | 네트워크 아이디 |
caId | Yes | String | Path Parameter | CA 아이디 |
identityName | Yes | String | Path Parameter | Identity명 |
요청 예시
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"
응답
응답 바디
- content-type: application/octet-stream
항목 | 타입 | 설명 |
---|---|---|
status | String | 응답 성공 여부 |
file.type | String | Identity 타입 (orderer, peer, client) |
file.tls_cert | String | TLS 인증서 (base64인코딩) |
file.tls_key | String | TLS KEY (base64인코딩) |
file.cert | String | 인증서 (base64인코딩) |
file.key | String | KEY (base64인코딩) |
응답 예시
{
"type" : "orderer",
"tls_key" : "LS.....==",
"tls_cert" : "LS.....==",
"name" : "orderer",
"cert" : "LS.....==",
"key" : "LS.....=="
}
이 문서가 도움이 되었습니까?