Date   

Re: Re-add organization to hyperledger fabric network #hyperledger-fabric

David Enyeart
 

I believe you would need to use a different MSPID when re-adding an organization.

 

From: <fabric@...> on behalf of "abhinav.tyagi@..." <abhinav.tyagi@...>
Date: Tuesday, March 8, 2022 at 12:40 PM
To: "fabric@..." <fabric@...>
Subject: [EXTERNAL] [Hyperledger Fabric] Re-add organization to hyperledger fabric network #hyperledger-fabric

 

Hi everyone, We added a org to the hyperledger fabric network. We then removed it and tried to re-add the org with the same name. While approving the chaincode for that org it is giving error that "private data matching public hash version is ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd
Hi everyone,

We added a org to the hyperledger fabric network. We then removed it and tried to re-add the org with the same name. While approving the chaincode for that org it is giving error that "private data matching public hash version is not available".

So is it possible to re-add the same org to the hyperledger fabric network.

Regards,
Abhinav


Re-add organization to hyperledger fabric network #hyperledger-fabric

abhinav.tyagi@...
 

Hi everyone,

We added a org to the hyperledger fabric network. We then removed it and tried to re-add the org with the same name. While approving the chaincode for that org it is giving error that "private data matching public hash version is not available".

So is it possible to re-add the same org to the hyperledger fabric network.

Regards,
Abhinav


Now: Private Chaincode Lab - 03/08/2022 #cal-notice

fabric@lists.hyperledger.org Calendar <noreply@...>
 

Private Chaincode Lab

When:
03/08/2022
8:00am to 9:00am
(UTC-08:00) America/Los Angeles

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Marcus Brandenburger bur@...

View Event

Description:
Two of the Hyperleger Labs projects (private data objects and private chain code) are collaborating to develop a "private smart contracts" capability.

Join Zoom Meeting https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09 Meeting ID: 518 494 7650 Passcode: 475869


Re: creating images from Dockerfile for external-chaincode #fabric

Matthew White
 

Could you explain a bit more about what you're doing please... are you trying to create a docker container to run chaincode-as-a-service?


creating images from Dockerfile for external-chaincode #fabric

amit kumar savita
 

Hi fabric team,
When running container from images created from dockerfile  getting error."docker:Error response from daemon:OCI runtime create failed: container_linux.go:380: starting container process caused: exec "chaincode-external executable file not found in $path:unknown""
Pls check Dockerfile attached



Bad certificate request while generating crypto material using Fabric CA Server - Reg

Satyanarayana N <nanduris@...>
 

Hi,

I am trying to setup blockchain network with two organizations having two peers
in each organization using Hyperledger Fabric 2.2.3. I generated crypto material
using fabric-ca-server-client command after setting up separate CAs for org1,
org2 and orderer organizations [ca.org1.example.com, ca.org2.example.com,
ca.orderer.example.com]. All peers [peer0, peer1 of org1 and peer0, peer1 of
org2] and orderers are running in different containers in a single VM. Issue is
about IP SANS. I used below commands to generate certificates [register and
enroll]

# Register peer0 certificates now
fabric-ca-client register --caname ca.org1.example.com --csr.cn
peer0.org1.example.com --csr.names 'O=org1,OU=peer,C=IN,ST=Telangana' --id.name
peer0 --id.secret peer0pw --id.type peer --id.attrs '"hf.Registrar.Roles=peer"'
--tls.certfiles ${FABRIC_CA_CLIENT_HOME}/ca/tls-ca-org1-example-com-cert.pem

# Enroll peer0 certificates now which stores crypto material for peer0 in msp
folder
fabric-ca-client enroll -u https://peer0:peer0pw@localhost:7060 --caname
ca.org1.example.com --csr.cn peer0.org1.example.com --csr.names
'O=org1,OU=peer,C=IN,ST=Telangana' -M
${FABRIC_CA_CLIENT_HOME}/peers/peer0.org1.example.com/msp --csr.hosts
peer0.org1.example.com --tls.certfiles
${FABRIC_CA_CLIENT_HOME}/ca/tls-ca-org1-example-com-cert.pem

I am running above commands from the host machine. I got below error.

2022-03-05 08:49:11.635 UTC [grpc] Warningf -> DEBU 04f grpc:
addrConn.createTransport failed to connect to {127.0.0.1:7051 <nil> 0 <nil>}.
Err: connection error: desc = "transport: authentication handshake failed: x509:
cannot validate certificate for 127.0.0.1 because it doesn't contain any IP
SANs". Reconnecting...
2022-03-05 08:49:11.636 UTC [grpc] Infof -> DEBU 052 Subchannel Connectivity
change to TRANSIENT_FAILURE
2022-03-05 08:49:11.636 UTC [grpc] UpdateSubConnState -> DEBU 053
pickfirstBalancer: HandleSubConnStateChange: 0xc002ae4e40, {TRANSIENT_FAILURE
connection error: desc = "transport: authentication handshake failed: x509:
cannot validate certificate for 127.0.0.1 because it doesn't contain any IP
SANs"}
2022-03-05 08:49:11.636 UTC [grpc] Infof -> DEBU 054 Channel Connectivity change
to TRANSIENT_FAILURE

Regards,
Satya


For assimilation and dissemination of knowledge, visit cakes.cdac.in


------------------------------------------------------------------------------------------------------------
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
------------------------------------------------------------------------------------------------------------


#fabric-ca - IPSANS error with crypto material generated using fabric ca server #fabric-ca

Satya
 

I am trying to setup blockchain network with two organizations having two peers in each organization. I generated crypto material using fabric-ca-server-client command after setting up separate CAs for org1, org2 and orderer organizations. All peers and orderers are running in different containers in a single VM. I am using HLF 2.2.3.
# Register peer0 certificates now
fabric-ca-client register --caname ca.org1.example.com --csr.cn peer0.org1.example.com --csr.names 'O=org1,OU=peer,C=IN,ST=Telangana' --id.name peer0 --id.secret peer0pw --id.type peer --id.attrs '"hf.Registrar.Roles=peer"' --tls.certfiles ${FABRIC_CA_CLIENT_HOME}/ca/tls-ca-org1-example-com-cert.pem

# Enroll peer0 certificates now which stores crypto material for peer0 in msp folder
fabric-ca-client enroll -u https://peer0:peer0pw@localhost:7060 --caname ca.org1.example.com --csr.cn peer0.org1.example.com --csr.names 'O=org1,OU=peer,C=IN,ST=Telangana' -M ${FABRIC_CA_CLIENT_HOME}/peers/peer0.org1.example.com/msp --csr.hosts peer0.org1.example.com --tls.certfiles ${FABRIC_CA_CLIENT_HOME}/ca/tls-ca-org1-example-com-cert.pem

I observed below error while executing docker logs peer0.org1.example.com

2022-03-05 08:49:11.635 UTC [grpc] Warningf -> DEBU 04f grpc: addrConn.createTransport failed to connect to {127.0.0.1:7051  <nil> 0 <nil>}. Err: connection error: desc = "transport: authentication handshake failed: x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs". Reconnecting...
2022-03-05 08:49:11.636 UTC [grpc] Infof -> DEBU 052 Subchannel Connectivity change to TRANSIENT_FAILURE
2022-03-05 08:49:11.636 UTC [grpc] UpdateSubConnState -> DEBU 053 pickfirstBalancer: HandleSubConnStateChange: 0xc002ae4e40, {TRANSIENT_FAILURE connection error: desc = "transport: authentication handshake failed: x509: cannot validate certificate for 127.0.0.1 because it doesn't contain any IP SANs"}
2022-03-05 08:49:11.636 UTC [grpc] Infof -> DEBU 054 Channel Connectivity change to TRANSIENT_FAILURE
2022-03-05 08:49:11.635 UTC [core.comm] ServerHandshake -> ERRO 050 Server TLS handshake failed in 945.487µs with error remote error: tls: bad certificate server=PeerServer remoteaddress=127.0.0.1:38460
2022-03-05 08:49:11.637 UTC [grpc] Warningf -> DEBU 055 grpc: Server.Serve failed to complete security handshake from "127.0.0.1:38460": remote error: tls: bad certificate


Changing chaincode endorsement policy

mohitbt@...
 

Hi,

I notice the default chaincode endorsement policy for a fabric peer is `MAJORITY`. I changed to ANY as follows in my configtx.yaml - 

```
LifecycleEndorsement:
Type: ImplicitMeta
Rule: "ANY Endorsement"
Endorsement:
Type: ImplicitMeta
Rule: "ANY Endorsement"
```

Looking at the logs, I noticed that making it ANY only confirms the chaincode transaction at 1 node. Are there any security implications with this? If so, how can I make it so that chaincode transactions are confirmed at 6 generic nodes of any organization (say 6 because bitcoin uses 6 confirmations)?


failing to add new organisation to channel #policies #configtxgen

abhinav.tyagi@...
 

While adding new org to a channel after signing the trasnaction and sending the below update transaction:

peer channel update -f /var/hyperledger/fabric-ca/organizations/configtx/org2_update_in_envelope.pb -c channel1 -o <ORDERER_DNS>:443 --tls --cafile ${ORDERER_CA}

Getting the below error while running the update command.

BAD_REQUEST -- error applying config update to existing channel 'channel1': error authorizing update: error validating DeltaSet: policy for [Value]  /Channel/Application/org2/MSP not satisfied: signature set did not satisfy policy", "command terminated with exit code 1"]


Failed validating bootstrap block: initializing channelconfig failed: could not create channel Application sub-group config #docker #x509

khacrong@...
 

Hi,

I encounter this error when I tried to start Orderer in docker-compose(CA and Peer nodes are started and has no error).
2022-03-04 07:24:40.036 UTC [orderer.common.server] initializeServerConfig -> INFO 004 Starting orderer with TLS enabled2022-03-04 07:24:40.049 UTC [orderer.common.server] Main -> PANI 005 Failed validating bootstrap block: initializing channelconfig failed: could not create channel Application sub-group config: setting up the MSP manager failed: getCertFromPem error: failed to parse x509 cert: asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} tbsCertificate @2panic: Failed validating bootstrap block: initializing channelconfig failed: could not create channel Application sub-group config: setting up the MSP manager failed: getCertFromPem error: failed to parse x509 cert: asn1: structure error: tags don't match (16 vs {class:0 tag:2 length:1 isCompound:false}) {optional:false explicit:false application:false private:false defaultValue:<nil> tag:<nil> stringType:0 timeType:0 set:false omitEmpty:false} tbsCertificate @2goroutine 1 [running]:go.uber.org/zap/zapcore.(*CheckedEntry).Write(0xc000620000, 0x0, 0x0, 0x0)    /go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/zapcore/entry.go:230 +0x565go.uber.org/zap.(*SugaredLogger).log(0xc000010208, 0x10f3b04, 0xfc7876, 0x25, 0xc0001b7780, 0x1, 0x1, 0x0, 0x0, 0x0)    /go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:234 +0xf6go.uber.org/zap.(*SugaredLogger).Panicf(...)    /go/src/github.com/hyperledger/fabric/vendor/go.uber.org/zap/sugar.go:159github.com/hyperledger/fabric/common/flogging.(*FabricLogger).Panicf(...)    /go/src/github.com/hyperledger/fabric/common/flogging/zap.go:74github.com/hyperledger/fabric/orderer/common/server.Main()    /go/src/github.com/hyperledger/fabric/orderer/common/server/main.go:118 +0x1da5main.main()    /go/src/github.com/hyperledger/fabric/cmd/orderer/main.go:15 +0x25

and my configex.yaml:


# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: Apache-2.0
#

---
################################################################################
#
#   Section: Organizations
#
#   - This section defines the different organizational identities which will
#   be referenced later in the configuration.
#
################################################################################
Organizations:

    # SampleOrg defines an MSP using the sampleconfig.  It should never be used
    # in production but may be used as a template for other definitions
    - &OrdererOrg
        # DefaultOrg defines the organization which is used in the sampleconfig
        # of the fabric.git development environment
        Name: OrdererOrg

        # ID to load the MSP definition as
        ID: OrdererMSP

        # MSPDir is the filesystem path which contains the MSP configuration
        MSPDir: /home/rong/Documents/fabric/production-test/org0/orderer1/msp

        # Policies defines the set of policies at this level of the config tree
        # For organization policies, their canonical path is usually
        #   /Channel/<Application|Orderer>/<OrgName>/<PolicyName>
        Policies:
            Readers:
                Type: Signature
                Rule: "OR('OrdererMSP.member')"
            Writers:
                Type: Signature
                Rule: "OR('OrdererMSP.member')"
            Admins:
                Type: Signature
                Rule: "OR('OrdererMSP.admin')"

        OrdererEndpoints:
            - orderer.example.com:7050

    - &Org1
        # DefaultOrg defines the organization which is used in the sampleconfig
        # of the fabric.git development environment
        Name: Org1MSP

        # ID to load the MSP definition as
        ID: Org1MSP

        MSPDir: /home/rong/Documents/fabric/production-test/org1/peer1/msp

        # Policies defines the set of policies at this level of the config tree
        # For organization policies, their canonical path is usually
        #   /Channel/<Application|Orderer>/<OrgName>/<PolicyName>
        Policies:
            Readers:
                Type: Signature
                Rule: "OR('Org1MSP.admin', 'Org1MSP.peer', 'Org1MSP.client')"
            Writers:
                Type: Signature
                Rule: "OR('Org1MSP.admin', 'Org1MSP.client')"
            Admins:
                Type: Signature
                Rule: "OR('Org1MSP.admin')"
            Endorsement:
                Type: Signature
                Rule: "OR('Org1MSP.peer')"

    - &Org2
        # DefaultOrg defines the organization which is used in the sampleconfig
        # of the fabric.git development environment
        Name: Org2MSP

        # ID to load the MSP definition as
        ID: Org2MSP

        MSPDir: /home/rong/Documents/fabric/production-test/org2/peer1/msp

        # Policies defines the set of policies at this level of the config tree
        # For organization policies, their canonical path is usually
        #   /Channel/<Application|Orderer>/<OrgName>/<PolicyName>
        Policies:
            Readers:
                Type: Signature
                Rule: "OR('Org2MSP.admin', 'Org2MSP.peer', 'Org2MSP.client')"
            Writers:
                Type: Signature
                Rule: "OR('Org2MSP.admin', 'Org2MSP.client')"
            Admins:
                Type: Signature
                Rule: "OR('Org2MSP.admin')"
            Endorsement:
                Type: Signature
                Rule: "OR('Org2MSP.peer')"

################################################################################
#
#   SECTION: Capabilities
#
#   - This section defines the capabilities of fabric network. This is a new
#   concept as of v1.1.0 and should not be utilized in mixed networks with
#   v1.0.x peers and orderers.  Capabilities define features which must be
#   present in a fabric binary for that binary to safely participate in the
#   fabric network.  For instance, if a new MSP type is added, newer binaries
#   might recognize and validate the signatures from this type, while older
#   binaries without this support would be unable to validate those
#   transactions.  This could lead to different versions of the fabric binaries
#   having different world states.  Instead, defining a capability for a channel
#   informs those binaries without this capability that they must cease
#   processing transactions until they have been upgraded.  For v1.0.x if any
#   capabilities are defined (including a map with all capabilities turned off)
#   then the v1.0.x peer will deliberately crash.
#
################################################################################
Capabilities:
    # Channel capabilities apply to both the orderers and the peers and must be
    # supported by both.
    # Set the value of the capability to true to require it.
    Channel: &ChannelCapabilities
        # V2_0 capability ensures that orderers and peers behave according
        # to v2.0 channel capabilities. Orderers and peers from
        # prior releases would behave in an incompatible way, and are therefore
        # not able to participate in channels at v2.0 capability.
        # Prior to enabling V2.0 channel capabilities, ensure that all
        # orderers and peers on a channel are at v2.0.0 or later.
        V2_0: true

    # Orderer capabilities apply only to the orderers, and may be safely
    # used with prior release peers.
    # Set the value of the capability to true to require it.
    Orderer: &OrdererCapabilities
        # V2_0 orderer capability ensures that orderers behave according
        # to v2.0 orderer capabilities. Orderers from
        # prior releases would behave in an incompatible way, and are therefore
        # not able to participate in channels at v2.0 orderer capability.
        # Prior to enabling V2.0 orderer capabilities, ensure that all
        # orderers on channel are at v2.0.0 or later.
        V2_0: true

    # Application capabilities apply only to the peer network, and may be safely
    # used with prior release orderers.
    # Set the value of the capability to true to require it.
    Application: &ApplicationCapabilities
        # V2_0 application capability ensures that peers behave according
        # to v2.0 application capabilities. Peers from
        # prior releases would behave in an incompatible way, and are therefore
        # not able to participate in channels at v2.0 application capability.
        # Prior to enabling V2.0 application capabilities, ensure that all
        # peers on channel are at v2.0.0 or later.
        V2_0: true

################################################################################
#
#   SECTION: Application
#
#   - This section defines the values to encode into a config transaction or
#   genesis block for application related parameters
#
################################################################################
Application: &ApplicationDefaults

    # Organizations is the list of orgs which are defined as participants on
    # the application side of the network
    Organizations:

    # Policies defines the set of policies at this level of the config tree
    # For Application policies, their canonical path is
    #   /Channel/Application/<PolicyName>
    Policies:
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        Admins:
            Type: ImplicitMeta
            Rule: "MAJORITY Admins"
        LifecycleEndorsement:
            Type: ImplicitMeta
            Rule: "MAJORITY Endorsement"
        Endorsement:
            Type: ImplicitMeta
            Rule: "MAJORITY Endorsement"

    Capabilities:
        <<: *ApplicationCapabilities
################################################################################
#
#   SECTION: Orderer
#
#   - This section defines the values to encode into a config transaction or
#   genesis block for orderer related parameters
#
################################################################################
Orderer: &OrdererDefaults

    # Orderer Type: The orderer implementation to start
    OrdererType: etcdraft
    # Addresses used to be the list of orderer addresses that clients and peers
    # could connect to.  However, this does not allow clients to associate orderer
    # addresses and orderer organizations which can be useful for things such
    # as TLS validation.  The preferred way to specify orderer addresses is now
    # to include the OrdererEndpoints item in your org definition
    Addresses:
        - orderer.example.com:7050

    EtcdRaft:
        Consenters:
        - Host: orderer.example.com
          Port: 7050
          ClientTLSCert: /home/rong/Documents/fabric/production-test/org0/orderer1/assets/ca/org0-ca-cert.pem
          ServerTLSCert: /home/rong/Documents/fabric/production-test/org0/orderer1/assets/ca/org0-ca-cert.pem

    # Batch Timeout: The amount of time to wait before creating a batch
    BatchTimeout: 2s

    # Batch Size: Controls the number of messages batched into a block
    BatchSize:

        # Max Message Count: The maximum number of messages to permit in a batch
        MaxMessageCount: 10

        # Absolute Max Bytes: The absolute maximum number of bytes allowed for
        # the serialized messages in a batch.
        AbsoluteMaxBytes: 99 MB

        # Preferred Max Bytes: The preferred maximum number of bytes allowed for
        # the serialized messages in a batch. A message larger than the preferred
        # max bytes will result in a batch larger than preferred max bytes.
        PreferredMaxBytes: 512 KB

    # Organizations is the list of orgs which are defined as participants on
    # the orderer side of the network
    Organizations:

    # Policies defines the set of policies at this level of the config tree
    # For Orderer policies, their canonical path is
    #   /Channel/Orderer/<PolicyName>
    Policies:
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        Admins:
            Type: ImplicitMeta
            Rule: "MAJORITY Admins"
        # BlockValidation specifies what signatures must be included in the block
        # from the orderer for the peer to validate it.
        BlockValidation:
            Type: ImplicitMeta
            Rule: "ANY Writers"

################################################################################
#
#   CHANNEL
#
#   This section defines the values to encode into a config transaction or
#   genesis block for channel related parameters.
#
################################################################################
Channel: &ChannelDefaults
    # Policies defines the set of policies at this level of the config tree
    # For Channel policies, their canonical path is
    #   /Channel/<PolicyName>
    Policies:
        # Who may invoke the 'Deliver' API
        Readers:
            Type: ImplicitMeta
            Rule: "ANY Readers"
        # Who may invoke the 'Broadcast' API
        Writers:
            Type: ImplicitMeta
            Rule: "ANY Writers"
        # By default, who may modify elements at this config level
        Admins:
            Type: ImplicitMeta
            Rule: "MAJORITY Admins"

    # Capabilities describes the channel level capabilities, see the
    # dedicated Capabilities section elsewhere in this file for a full
    # description
    Capabilities:
        <<: *ChannelCapabilities

################################################################################
#
#   Profile
#
#   - Different configuration profiles may be encoded here to be specified
#   as parameters to the configtxgen tool
#
################################################################################
Profiles:

    TwoOrgsApplicationGenesis:
        <<: *ChannelDefaults
        Orderer:
            <<: *OrdererDefaults
            Organizations:
                - *OrdererOrg
            Capabilities: *OrdererCapabilities
        Application:
            <<: *ApplicationDefaults
            Organizations:
                - *Org1
                - *Org2
            Capabilities: *ApplicationCapabilities   
        Consortiums:
          SampleConsortium:
            Organizations:

Please help me!


Re: How to add an intermediate CA with Fabric CA and docker #fabric-ca #docker

famar
 

Hi Kavin, I have already read the documentation and when I try to manually set the configuration files I have no problem. The problems arise when I start using docker-compose.
First of all in the documentation it is indicated to copy the TLS CA ca-cert.pem file in the organization folder.
But if I effect the enrollment of the admin of my organization in this way:

export FABRIC_CA_CLIENT_TLS_CERTFILES=/tmp/hyperledger/tls-ca/crypto/tls-cert.pem
fabric-ca-client enroll -d -u https://rca-org0-admin:rca-org0-adminpw@0.0.0.0:7053

then indicating as TLS certificate the one contained in the TLS CA folder I get this error:

"Post "https://0.0.0.0:7053/enroll": x509: certificate signed by unknown authority".

If instead I don't use the file in the TLS CA folder but the one in the organization folder:

export FABRIC_CA_CLIENT_TLS_CERTFILES=/tmp/hyperledger/org0/ca/crypto/ca-cert.pem

The enrollment is successful but I can't understand why, since in the documentation it is indicated to use the one present in the TLS CA folder.

This problem affects the whole flow, preventing me from understanding how to set an intermediate CA. From the documentation I think I have more or less understood how to set the section of the docker-compose.yaml but I can not understand how to manage the certification files.


Il giorno gio 3 mar 2022 alle ore 03:46 Kavin Arumugam <a.kavin24@...> ha scritto:
Hi Famar,

If you are exploring for the first time, I would suggest you to go with Fabric CA Binaries based Deployment by referring to the following link.
If you are comfortable with the above ones, then go ahead for docker based Deployment.

Thanks & Regards
Kavin Arumugam

On Tue, Mar 1, 2022 at 4:07 PM famar <fabrizio.marangio@...> wrote:
Hello everyone, I'm trying to implement a test fabric network by setting 1 TLS-CA, 1 ROOT-CA, 1 ORG, 1 Orderer and 1 Intermediate CA.
I'm having some trouble implementing intermediate CA with docker.
Questa è la sezione del file docker-compose.yaml relativa all'intermediate CA:
 
  ica-org0:
    container_name: ica-org0
    image: hyperledger/fabric-ca:latest
    command: sh -c 'fabric-ca-server start -d -b icaadmin:icaadminpw --port 7054'
    environment:
        - FABRIC_CA_SERVER_HOME=/tmp/hyperledger/fabric-ca/crypto
        - FABRIC_CA_SERVER_TLS_ENABLED=true
        - FABRIC_CA_SERVER_CSR_CN=rca-org2
        - FABRIC_CA_SERVER_CSR_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_CSR_CN=
        - FABRIC_CA_SERVER_CSR_CA_PATHLENGTH=0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_CANAME=rca-org0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_URL=https://rca-org0-admin:rca-org0-adminpw@0.0.0.0:7053
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_PROFILE=ca
        - FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/tmp/hyperledger/ca-tls/ca/crypto/ca-cert.pem
        - FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=127.0.0.1:9444
        - FABRIC_CA_SERVER_DEBUG=true
    volumes:
        - /tmp/hyperledger/ica-org0/ca:/tmp/hyperledger/fabric-ca
    networks:
        - fabric-ca
    ports:
        - 7054:7054

I am having trouble registering identities and moving through certificates. Would you know what steps to follow to enter an intermediate CA? Thank you


Re: Extend network with new orderers while is running

David Enyeart
 

Yes, you can also remove ordering nodes for a channel, see:

https://hyperledger-fabric.readthedocs.io/en/latest/create_channel/create_channel_participation.html#add-or-remove-orderers-from-existing-channels

 

And if needed, you can entirely remove an org from a channel by submitting a channel config update transaction, similar to the add org instructions here:

https://hyperledger-fabric.readthedocs.io/en/latest/channel_update_tutorial.html

 

 

From: <fabric@...> on behalf of Nikos Karamolegkos <nkaram@...>
Date: Tuesday, March 1, 2022 at 6:12 AM
To: "fabric@..." <fabric@...>
Subject: [EXTERNAL] Re: [Hyperledger Fabric] Extend network with new orderers while is running

 


Re: How to add an intermediate CA with Fabric CA and docker #fabric-ca #docker

Kavin Arumugam
 

Hi Famar,

If you are exploring for the first time, I would suggest you to go with Fabric CA Binaries based Deployment by referring to the following link.
If you are comfortable with the above ones, then go ahead for docker based Deployment.

Thanks & Regards
Kavin Arumugam

On Tue, Mar 1, 2022 at 4:07 PM famar <fabrizio.marangio@...> wrote:
Hello everyone, I'm trying to implement a test fabric network by setting 1 TLS-CA, 1 ROOT-CA, 1 ORG, 1 Orderer and 1 Intermediate CA.
I'm having some trouble implementing intermediate CA with docker.
Questa è la sezione del file docker-compose.yaml relativa all'intermediate CA:
 
  ica-org0:
    container_name: ica-org0
    image: hyperledger/fabric-ca:latest
    command: sh -c 'fabric-ca-server start -d -b icaadmin:icaadminpw --port 7054'
    environment:
        - FABRIC_CA_SERVER_HOME=/tmp/hyperledger/fabric-ca/crypto
        - FABRIC_CA_SERVER_TLS_ENABLED=true
        - FABRIC_CA_SERVER_CSR_CN=rca-org2
        - FABRIC_CA_SERVER_CSR_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_CSR_CN=
        - FABRIC_CA_SERVER_CSR_CA_PATHLENGTH=0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_CANAME=rca-org0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_URL=https://rca-org0-admin:rca-org0-adminpw@0.0.0.0:7053
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_PROFILE=ca
        - FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/tmp/hyperledger/ca-tls/ca/crypto/ca-cert.pem
        - FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=127.0.0.1:9444
        - FABRIC_CA_SERVER_DEBUG=true
    volumes:
        - /tmp/hyperledger/ica-org0/ca:/tmp/hyperledger/fabric-ca
    networks:
        - fabric-ca
    ports:
        - 7054:7054

I am having trouble registering identities and moving through certificates. Would you know what steps to follow to enter an intermediate CA? Thank you


Now: Fabric Contributor Meeting - 03/02/2022 #cal-notice

fabric@lists.hyperledger.org Calendar <noreply@...>
 

Fabric Contributor Meeting

When:
03/02/2022
9:00am to 10:00am
(UTC-05:00) America/New York

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Dave Enyeart enyeart@...

View Event

Description:
For meeting agendas, recordings, and more details, see https://wiki.hyperledger.org/display/fabric/Contributor+Meetings

Join Zoom Meeting
https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09
 
Meeting ID: 518 494 7650
Passcode: 475869


Re: Fabric Contributor Meeting - March 2, 2022

David Enyeart
 

The meeting link did not copy correctly, it should be:

https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

 

 

From: <fabric@...> on behalf of David Enyeart <enyeart@...>
Date: Tuesday, March 1, 2022 at 10:35 PM
To: "fabric@..." <fabric@...>
Subject: [EXTERNAL] [Hyperledger Fabric] Fabric Contributor Meeting - March 2, 2022

 

Hyperledger Fabric Contributor Meeting When: Every other Wednesday 9am US Eastern, 14:00 UTC Where: https://zoom.us/j/51849?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09 Agendas and Recordings: https://wiki.hyperledger.org/display/fabric/Contributor+Meetings ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Hyperledger Fabric Contributor Meeting

When: Every other Wednesday 9am US Eastern, 14:00 UTC

Where: https://zoom.us/j/51849?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Agendas and Recordings: https://wiki.hyperledger.org/display/fabric/Contributor+Meetings

 

----------------------------------------------------------------------------------------------------

Agenda for March 2, 2022


Project status update


Fabric Contributor Meeting - March 2, 2022

David Enyeart
 

Hyperledger Fabric Contributor Meeting

When: Every other Wednesday 9am US Eastern, 14:00 UTC

Where: https://zoom.us/j/51849?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Agendas and Recordings: https://wiki.hyperledger.org/display/fabric/Contributor+Meetings

 

----------------------------------------------------------------------------------------------------

Agenda for March 2, 2022


Project status update


Now: Private Chaincode Lab - 03/01/2022 #cal-notice

fabric@lists.hyperledger.org Calendar <noreply@...>
 

Private Chaincode Lab

When:
03/01/2022
8:00am to 9:00am
(UTC-08:00) America/Los Angeles

Where:
https://zoom.us/my/hyperledger.community.3?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09

Organizer: Marcus Brandenburger bur@...

View Event

Description:
Two of the Hyperleger Labs projects (private data objects and private chain code) are collaborating to develop a "private smart contracts" capability.

Join Zoom Meeting https://zoom.us/j/5184947650?pwd=UE90WHhEaHRqOGEyMkV3cldKa2d2dz09 Meeting ID: 518 494 7650 Passcode: 475869


Re: Extend network with new orderers while is running

Nikos Karamolegkos
 

Thanks. What about this:

is it possible for the joined orgs to leave the channel? If yes, how can I do that?


How to add an intermediate CA with Fabric CA and docker #fabric-ca #docker

famar
 

Hello everyone, I'm trying to implement a test fabric network by setting 1 TLS-CA, 1 ROOT-CA, 1 ORG, 1 Orderer and 1 Intermediate CA.
I'm having some trouble implementing intermediate CA with docker.
Questa è la sezione del file docker-compose.yaml relativa all'intermediate CA:
 
  ica-org0:
    container_name: ica-org0
    image: hyperledger/fabric-ca:latest
    command: sh -c 'fabric-ca-server start -d -b icaadmin:icaadminpw --port 7054'
    environment:
        - FABRIC_CA_SERVER_HOME=/tmp/hyperledger/fabric-ca/crypto
        - FABRIC_CA_SERVER_TLS_ENABLED=true
        - FABRIC_CA_SERVER_CSR_CN=rca-org2
        - FABRIC_CA_SERVER_CSR_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_CSR_CN=
        - FABRIC_CA_SERVER_CSR_CA_PATHLENGTH=0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_CANAME=rca-org0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_URL=https://rca-org0-admin:rca-org0-adminpw@0.0.0.0:7053
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_HOSTS=0.0.0.0
        - FABRIC_CA_SERVER_INTERMEDIATE_PARENTSERVER_INTERMEDIATE_ENROLLMENT_PROFILE=ca
        - FABRIC_CA_SERVER_INTERMEDIATE_TLS_CERTFILES=/tmp/hyperledger/ca-tls/ca/crypto/ca-cert.pem
        - FABRIC_CA_SERVER_OPERATIONS_LISTENADDRESS=127.0.0.1:9444
        - FABRIC_CA_SERVER_DEBUG=true
    volumes:
        - /tmp/hyperledger/ica-org0/ca:/tmp/hyperledger/fabric-ca
    networks:
        - fabric-ca
    ports:
        - 7054:7054

I am having trouble registering identities and moving through certificates. Would you know what steps to follow to enter an intermediate CA? Thank you


Re: Technical Hyperledger meetups about Fabric coming up -- one in APAC and one in Europe

David Boswell <dboswell@...>
 

There is a virtual meetup on this Saturday, March 5 with Terry Wan leading a technical session that will show an example of how to mint non-fungible tokens with Hyperledger Fabric while storing the associated data on IPFS.  Note that the earlier event link I shared has changed and the new event link is below.  Apologies for any confusion.


And last week there was a virtual meetup about Hyperledger Fabric and Kubernetes.  There wasn't a recording of that meetup, but there are slides available that I wanted to share.  Those are at:


Thanks,
David


On Tue, Feb 22, 2022 at 8:41 AM David Boswell <dboswell@...> wrote:
The Hyperledger Sydney group scheduled a virtual meetup on March 5 with Terry Wan leading a technical session that will show an example of how to mint non-fungible tokens with Fabric while storing the associated data on IPFS.


And as a reminder, the Hyperledger Budapest group is hosting a virtual meetup tomorrow, Wednesday, Feb 23, focused on using Fabric with Kubernetes.  More about that event is at:


Thanks,
David