証明書とキーをダウンロード
    • PDF

    証明書とキーをダウンロード

    • PDF

    Article Summary

    CAに登録されているIDの証明書とキーをダウンロードします

    リクエスト

    リクエスト URL

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

    リクエストパラメーター

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

    リクエストの例

    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"
    

    レスポンス

    レスポンス 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)

    レスポンスボディ

    {
      "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.