Hyperledger Fabric: Cannot run peer because error when setting up MSP of type bccsp from directory: the supplied identity is not valid The Next CEO of Stack OverflowUnable to register second validating peer with Hyperledger-FabricCannot run peer because cannot init cryptoCreate & Join Channel in Hyperledger Fabric Build your First Network Walk ThroughFailed to deserialize creater identity , the supplied identity is not valid error in HyperledgerSetting up a Blockchain Business Network With Hyperledger Fabric & Composer Running in Multiple Physical MachineBYFN.sh failed with error when setting up MSP of type bccsphyperledger fabric not starting every time I have startedMSP error: the supplied identity is not valid: x509: certificate signed by unknown authorityHow to fix Cannot run peer because cannot init crypto, folder does not existError when trying to create and join a channel in hyperledger fabric blockchain services

Powershell. How to parse gci Name?

Plot of histogram similar to output from @risk

A Man With a Stainless Steel Endoskeleton (like The Terminator) Fighting Cloaked Aliens Only He Can See

Why isn't acceleration always zero whenever velocity is zero, such as the moment a ball bounces off a wall?

How did people program for Consoles with multiple CPUs?

Would this house-rule that treats advantage as a +1 to the roll instead (and disadvantage as -1) and allows them to stack be balanced?

Can we say or write : "No, it'sn't"?

Bartok - Syncopation (1): Meaning of notes in between Grand Staff

"misplaced omit" error when >centering columns

What happened in Rome, when the western empire "fell"?

Does Germany produce more waste than the US?

Domestic-to-international connection at Orlando (MCO)

Proper way to express "He disappeared them"

Why is the US ranked as #45 in Press Freedom ratings, despite its extremely permissive free speech laws?

Make solar eclipses exceedingly rare, but still have new moons

Math-accent symbol over parentheses enclosing accented symbol (amsmath)

How to install OpenCV on Raspbian Stretch?

Is there a difference between "Fahrstuhl" and "Aufzug"

How to avoid supervisors with prejudiced views?

Why doesn't UK go for the same deal Japan has with EU to resolve Brexit?

What steps are necessary to read a Modern SSD in Medieval Europe?

What flight has the highest ratio of time difference to flight time?

Which one is the true statement?

Solving system of ODEs with extra parameter



Hyperledger Fabric: Cannot run peer because error when setting up MSP of type bccsp from directory: the supplied identity is not valid



The Next CEO of Stack OverflowUnable to register second validating peer with Hyperledger-FabricCannot run peer because cannot init cryptoCreate & Join Channel in Hyperledger Fabric Build your First Network Walk ThroughFailed to deserialize creater identity , the supplied identity is not valid error in HyperledgerSetting up a Blockchain Business Network With Hyperledger Fabric & Composer Running in Multiple Physical MachineBYFN.sh failed with error when setting up MSP of type bccsphyperledger fabric not starting every time I have startedMSP error: the supplied identity is not valid: x509: certificate signed by unknown authorityHow to fix Cannot run peer because cannot init crypto, folder does not existError when trying to create and join a channel in hyperledger fabric blockchain services










0















we see this error when trying to start a peer and are wondering how can we fix it?



2019-03-21 00:17:33.657 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/mydir: the supplied identity is not valid: x509: certificate signed by unknown authority









share|improve this question


























    0















    we see this error when trying to start a peer and are wondering how can we fix it?



    2019-03-21 00:17:33.657 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/mydir: the supplied identity is not valid: x509: certificate signed by unknown authority









    share|improve this question
























      0












      0








      0








      we see this error when trying to start a peer and are wondering how can we fix it?



      2019-03-21 00:17:33.657 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/mydir: the supplied identity is not valid: x509: certificate signed by unknown authority









      share|improve this question














      we see this error when trying to start a peer and are wondering how can we fix it?



      2019-03-21 00:17:33.657 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/mydir: the supplied identity is not valid: x509: certificate signed by unknown authority






      hyperledger-fabric






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 18:07









      morpheusmorpheus

      6,8941456105




      6,8941456105






















          1 Answer
          1






          active

          oldest

          votes


















          0














          To fix this error verify that the msp directory has a folder cacerts inside it which contains the certificate of the authority you have used to obtain the cert under signcerts and admincerts folder. If you are using an intermediate CA then you should also have an intermediatecerts folder under the msp dir. Example of correctly setup msp:



          root@1741bbd6e1ee:/home# tree peer05-jnj
          peer05-jnj
          |-- admincerts
          | `-- cert.pem
          |-- cacerts
          | `-- ica-jnj-7054.pem
          |-- intermediatecerts
          | `-- ica-jnj-7054.pem
          |-- keystore
          | `-- 75446a991f94558a0821a8cf8258746171359580f907bae88aa5f937e197bbc5_sk
          |-- signcerts
          | `-- cert.pem
          |-- tlscacerts
          | `-- tls-ica-jnj-7054.pem
          |-- tlsintermediatecerts
          | `-- tls-ica-jnj-7054.pem
          `-- user


          The admincerts is mandatory when starting a peer. If there is no admincert, you get below error:



          2019-03-21 18:00:10.985 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/peer03-jnj: could not load a valid admin certificate from directory /home/peer03-jnj/admincerts: stat /home/peer03-jnj/admincerts: no such file or directory





          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%2f55286699%2fhyperledger-fabric-cannot-run-peer-because-error-when-setting-up-msp-of-type-bc%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









            0














            To fix this error verify that the msp directory has a folder cacerts inside it which contains the certificate of the authority you have used to obtain the cert under signcerts and admincerts folder. If you are using an intermediate CA then you should also have an intermediatecerts folder under the msp dir. Example of correctly setup msp:



            root@1741bbd6e1ee:/home# tree peer05-jnj
            peer05-jnj
            |-- admincerts
            | `-- cert.pem
            |-- cacerts
            | `-- ica-jnj-7054.pem
            |-- intermediatecerts
            | `-- ica-jnj-7054.pem
            |-- keystore
            | `-- 75446a991f94558a0821a8cf8258746171359580f907bae88aa5f937e197bbc5_sk
            |-- signcerts
            | `-- cert.pem
            |-- tlscacerts
            | `-- tls-ica-jnj-7054.pem
            |-- tlsintermediatecerts
            | `-- tls-ica-jnj-7054.pem
            `-- user


            The admincerts is mandatory when starting a peer. If there is no admincert, you get below error:



            2019-03-21 18:00:10.985 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/peer03-jnj: could not load a valid admin certificate from directory /home/peer03-jnj/admincerts: stat /home/peer03-jnj/admincerts: no such file or directory





            share|improve this answer



























              0














              To fix this error verify that the msp directory has a folder cacerts inside it which contains the certificate of the authority you have used to obtain the cert under signcerts and admincerts folder. If you are using an intermediate CA then you should also have an intermediatecerts folder under the msp dir. Example of correctly setup msp:



              root@1741bbd6e1ee:/home# tree peer05-jnj
              peer05-jnj
              |-- admincerts
              | `-- cert.pem
              |-- cacerts
              | `-- ica-jnj-7054.pem
              |-- intermediatecerts
              | `-- ica-jnj-7054.pem
              |-- keystore
              | `-- 75446a991f94558a0821a8cf8258746171359580f907bae88aa5f937e197bbc5_sk
              |-- signcerts
              | `-- cert.pem
              |-- tlscacerts
              | `-- tls-ica-jnj-7054.pem
              |-- tlsintermediatecerts
              | `-- tls-ica-jnj-7054.pem
              `-- user


              The admincerts is mandatory when starting a peer. If there is no admincert, you get below error:



              2019-03-21 18:00:10.985 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/peer03-jnj: could not load a valid admin certificate from directory /home/peer03-jnj/admincerts: stat /home/peer03-jnj/admincerts: no such file or directory





              share|improve this answer

























                0












                0








                0







                To fix this error verify that the msp directory has a folder cacerts inside it which contains the certificate of the authority you have used to obtain the cert under signcerts and admincerts folder. If you are using an intermediate CA then you should also have an intermediatecerts folder under the msp dir. Example of correctly setup msp:



                root@1741bbd6e1ee:/home# tree peer05-jnj
                peer05-jnj
                |-- admincerts
                | `-- cert.pem
                |-- cacerts
                | `-- ica-jnj-7054.pem
                |-- intermediatecerts
                | `-- ica-jnj-7054.pem
                |-- keystore
                | `-- 75446a991f94558a0821a8cf8258746171359580f907bae88aa5f937e197bbc5_sk
                |-- signcerts
                | `-- cert.pem
                |-- tlscacerts
                | `-- tls-ica-jnj-7054.pem
                |-- tlsintermediatecerts
                | `-- tls-ica-jnj-7054.pem
                `-- user


                The admincerts is mandatory when starting a peer. If there is no admincert, you get below error:



                2019-03-21 18:00:10.985 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/peer03-jnj: could not load a valid admin certificate from directory /home/peer03-jnj/admincerts: stat /home/peer03-jnj/admincerts: no such file or directory





                share|improve this answer













                To fix this error verify that the msp directory has a folder cacerts inside it which contains the certificate of the authority you have used to obtain the cert under signcerts and admincerts folder. If you are using an intermediate CA then you should also have an intermediatecerts folder under the msp dir. Example of correctly setup msp:



                root@1741bbd6e1ee:/home# tree peer05-jnj
                peer05-jnj
                |-- admincerts
                | `-- cert.pem
                |-- cacerts
                | `-- ica-jnj-7054.pem
                |-- intermediatecerts
                | `-- ica-jnj-7054.pem
                |-- keystore
                | `-- 75446a991f94558a0821a8cf8258746171359580f907bae88aa5f937e197bbc5_sk
                |-- signcerts
                | `-- cert.pem
                |-- tlscacerts
                | `-- tls-ica-jnj-7054.pem
                |-- tlsintermediatecerts
                | `-- tls-ica-jnj-7054.pem
                `-- user


                The admincerts is mandatory when starting a peer. If there is no admincert, you get below error:



                2019-03-21 18:00:10.985 UTC [main] InitCmd -> ERRO 001 Cannot run peer because error when setting up MSP of type bccsp from directory /home/peer03-jnj: could not load a valid admin certificate from directory /home/peer03-jnj/admincerts: stat /home/peer03-jnj/admincerts: no such file or directory






                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 21 at 18:20









                morpheusmorpheus

                6,8941456105




                6,8941456105





























                    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%2f55286699%2fhyperledger-fabric-cannot-run-peer-because-error-when-setting-up-msp-of-type-bc%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

                    How to preserve electronics (computers, tablets and phones) for hundreds of years Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) The network's official Twitter account is up and running again. What content…How might modern humans leave a message for 50,000 years?How would an aquatic race develop computers?How do we make computers care for human life?Keeping supplies for 1000 yearsWhat will cell phones become in 100 years?What body armor protects against a laser?Could a society attain 1800s technology if limited to using copper and bronze?Electricity power (magic) and electronicsScavenging metal resources in post-apocalypse after 100 yearsWhy would precursors create devices that can survive and still work after hundreds of years?

                    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해

                    Convert JSON to MapSimplest way to convert a string representing JSON array into Java array List of key value pairsHow to take String JSON values into HashMapConvert a JSON String to a HashMapCreating BSON object from JSON stringJSONObject - How to get a value ?Better Map ConstructorReading JSON from Url javaUpdate columns if input values are not null otherwise ignore and keep the existing values of column in databaseHow to store object represented as Json string into Couchbase Lite?Go JSON into MapHow do I efficiently iterate over each entry in a Java Map?Sort a Map<Key, Value> by valuesHow to round a number to n decimal places in JavaCan comments be used in JSON?How do I read / convert an InputStream into a String in Java?How can I pretty-print JSON in a shell script?What is the correct JSON content type?How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?Why does Google prepend while(1); to their JSON responses?Parse JSON in JavaScript?