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

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript