Securing Kafka topic in hyperledger fabric












1















I have a question related to securing kafka topic on hyperledger fabric my question is as follows




  1. I have a hyperledger network with 1 orderer and kafka cluster set up

  2. My orderer is subscribed to the kafka topic and gets the blocks from kafka

  3. Now what if any other node (external node or node other than orderer) subscribes to kakfa and fetches data

  4. How can we secure kafka topics to be limited to hyperledger orderer service nodes and ensure that kafka only connects to OSN(Ordering service node) and not any external nodes

  5. Is orderer MSP involved or used when orderer subscribes to a kafka topic










share|improve this question























  • Have you already resolved this?

    – Nitish Bhardwaj
    Nov 22 '18 at 3:38











  • @NitishBhardwaj no not resolved yet

    – aditya chaphekar
    Nov 22 '18 at 8:46
















1















I have a question related to securing kafka topic on hyperledger fabric my question is as follows




  1. I have a hyperledger network with 1 orderer and kafka cluster set up

  2. My orderer is subscribed to the kafka topic and gets the blocks from kafka

  3. Now what if any other node (external node or node other than orderer) subscribes to kakfa and fetches data

  4. How can we secure kafka topics to be limited to hyperledger orderer service nodes and ensure that kafka only connects to OSN(Ordering service node) and not any external nodes

  5. Is orderer MSP involved or used when orderer subscribes to a kafka topic










share|improve this question























  • Have you already resolved this?

    – Nitish Bhardwaj
    Nov 22 '18 at 3:38











  • @NitishBhardwaj no not resolved yet

    – aditya chaphekar
    Nov 22 '18 at 8:46














1












1








1


2






I have a question related to securing kafka topic on hyperledger fabric my question is as follows




  1. I have a hyperledger network with 1 orderer and kafka cluster set up

  2. My orderer is subscribed to the kafka topic and gets the blocks from kafka

  3. Now what if any other node (external node or node other than orderer) subscribes to kakfa and fetches data

  4. How can we secure kafka topics to be limited to hyperledger orderer service nodes and ensure that kafka only connects to OSN(Ordering service node) and not any external nodes

  5. Is orderer MSP involved or used when orderer subscribes to a kafka topic










share|improve this question














I have a question related to securing kafka topic on hyperledger fabric my question is as follows




  1. I have a hyperledger network with 1 orderer and kafka cluster set up

  2. My orderer is subscribed to the kafka topic and gets the blocks from kafka

  3. Now what if any other node (external node or node other than orderer) subscribes to kakfa and fetches data

  4. How can we secure kafka topics to be limited to hyperledger orderer service nodes and ensure that kafka only connects to OSN(Ordering service node) and not any external nodes

  5. Is orderer MSP involved or used when orderer subscribes to a kafka topic







apache-kafka hyperledger-fabric hyperledger






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 14 '18 at 11:53









aditya chaphekaraditya chaphekar

63




63













  • Have you already resolved this?

    – Nitish Bhardwaj
    Nov 22 '18 at 3:38











  • @NitishBhardwaj no not resolved yet

    – aditya chaphekar
    Nov 22 '18 at 8:46



















  • Have you already resolved this?

    – Nitish Bhardwaj
    Nov 22 '18 at 3:38











  • @NitishBhardwaj no not resolved yet

    – aditya chaphekar
    Nov 22 '18 at 8:46

















Have you already resolved this?

– Nitish Bhardwaj
Nov 22 '18 at 3:38





Have you already resolved this?

– Nitish Bhardwaj
Nov 22 '18 at 3:38













@NitishBhardwaj no not resolved yet

– aditya chaphekar
Nov 22 '18 at 8:46





@NitishBhardwaj no not resolved yet

– aditya chaphekar
Nov 22 '18 at 8:46












1 Answer
1






active

oldest

votes


















2














I got this reference from Hyperledger Community:




You can use mutual TLS between the orderer nodes and the Kafka
brokers. You'll need to follow the Kafka documentation on setting up
client authentication with mutual TLS. For each orderer node, you can
specify the PrivateKey and Certificate to use to communicate with the
Kafka brokers. You can find these settings in orderer.yaml under the
Kafka section.




Please visit this link for more details:
https://lists.hyperledger.org/g/fabric/topic/23037291



Hope this helps.






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53299650%2fsecuring-kafka-topic-in-hyperledger-fabric%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I got this reference from Hyperledger Community:




    You can use mutual TLS between the orderer nodes and the Kafka
    brokers. You'll need to follow the Kafka documentation on setting up
    client authentication with mutual TLS. For each orderer node, you can
    specify the PrivateKey and Certificate to use to communicate with the
    Kafka brokers. You can find these settings in orderer.yaml under the
    Kafka section.




    Please visit this link for more details:
    https://lists.hyperledger.org/g/fabric/topic/23037291



    Hope this helps.






    share|improve this answer




























      2














      I got this reference from Hyperledger Community:




      You can use mutual TLS between the orderer nodes and the Kafka
      brokers. You'll need to follow the Kafka documentation on setting up
      client authentication with mutual TLS. For each orderer node, you can
      specify the PrivateKey and Certificate to use to communicate with the
      Kafka brokers. You can find these settings in orderer.yaml under the
      Kafka section.




      Please visit this link for more details:
      https://lists.hyperledger.org/g/fabric/topic/23037291



      Hope this helps.






      share|improve this answer


























        2












        2








        2







        I got this reference from Hyperledger Community:




        You can use mutual TLS between the orderer nodes and the Kafka
        brokers. You'll need to follow the Kafka documentation on setting up
        client authentication with mutual TLS. For each orderer node, you can
        specify the PrivateKey and Certificate to use to communicate with the
        Kafka brokers. You can find these settings in orderer.yaml under the
        Kafka section.




        Please visit this link for more details:
        https://lists.hyperledger.org/g/fabric/topic/23037291



        Hope this helps.






        share|improve this answer













        I got this reference from Hyperledger Community:




        You can use mutual TLS between the orderer nodes and the Kafka
        brokers. You'll need to follow the Kafka documentation on setting up
        client authentication with mutual TLS. For each orderer node, you can
        specify the PrivateKey and Certificate to use to communicate with the
        Kafka brokers. You can find these settings in orderer.yaml under the
        Kafka section.




        Please visit this link for more details:
        https://lists.hyperledger.org/g/fabric/topic/23037291



        Hope this helps.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 22 '18 at 9:27









        Nitish BhardwajNitish Bhardwaj

        394213




        394213






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53299650%2fsecuring-kafka-topic-in-hyperledger-fabric%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Bressuire

            Vorschmack

            Quarantine