CA Identity 인증서/키 다운로드
    • PDF

    CA Identity 인증서/키 다운로드

    • PDF

    Article Summary

    CA에 Enroll한 Identity 의 인증서와 KEY를 다운로드 합니다.

    요청

    요청 URL

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

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    networkIdYeslongPath Parameter네트워크 아이디
    caIdYesStringPath ParameterCA 아이디
    identityNameYesStringPath ParameterIdentity명

    요청 예시

    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
    항목타입설명
    statusString응답 성공 여부
    file.typeStringIdentity 타입 (orderer, peer, client)
    file.tls_certStringTLS 인증서 (base64인코딩)
    file.tls_keyStringTLS KEY (base64인코딩)
    file.certString인증서 (base64인코딩)
    file.keyStringKEY (base64인코딩)

    응답 예시

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

    이 문서가 도움이 되었습니까?

    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.