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

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현