rick@mac4hull ~ % docker logs ca_peerImporterOrg 2020/02/07 08:55:12 [DEBUG] Home directory: /etc/hyperledger/fabric-ca-server 2020/02/07 08:55:12 [DEBUG] parent server URL: '' 2020/02/07 08:55:12 [INFO] Created default configuration file at /etc/hyperledger/fabric-ca-server/fabric-ca-server-config.yaml 2020/02/07 08:55:12 [INFO] Starting server in home directory: /etc/hyperledger/fabric-ca-server 2020/02/07 08:55:12 [DEBUG] Set log level: 2020/02/07 08:55:12 [INFO] Server Version: 1.4.5-snapshot-292781e 2020/02/07 08:55:12 [INFO] Server Levels: &{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1} 2020/02/07 08:55:12 [DEBUG] Making server filenames absolute 2020/02/07 08:55:12 [DEBUG] Initializing default CA in directory /etc/hyperledger/fabric-ca-server 2020/02/07 08:55:12 [DEBUG] Init CA with home /etc/hyperledger/fabric-ca-server and config {Version:1.4.5-snapshot-292781e Cfg:{Identities:{PasswordAttempts:10 AllowRemove:false} Affiliations:{AllowRemove:false}} CA:{Name:ca-importerorg Keyfile:/etc/hyperledger/fabric-ca-server-config/b69b18b011256bb269956e7854bb1cae21f15ebcf14d188bb313bff3420ee576_sk Certfile:/etc/hyperledger/fabric-ca-server-config/ca.importerorg.trade.com-cert.pem Chainfile:ca-chain.pem} Signing:0xc00014e240 CSR:{CN:fabric-ca-server Names:[{C:US ST:North Carolina L: O:Hyperledger OU:Fabric SerialNumber:}] Hosts:[19d6379710dd localhost] KeyRequest:0xc00029fc40 CA:0xc00029fcc0 SerialNumber:} Registry:{MaxEnrollments:-1 Identities:[{ Name:**** Pass:**** Type:client Affiliation: MaxEnrollments:0 Attrs:map[hf.AffiliationMgr:1 hf.GenCRL:1 hf.IntermediateCA:1 hf.Registrar.Attributes:* hf.Registrar.DelegateRoles:* hf.Registrar.Roles:* hf.Revoker:1] }]} Affiliations:map[org1:[department1 department2] org2:[department1]] LDAP:{ Enabled:false URL:ldap://****:****@:/ UserFilter:(uid=%s) GroupFilter:(memberUid=%s) Attribute:{[uid member] [{ }] map[groups:[{ }]]} TLS:{false [] { }} } DB:{ Type:sqlite3 Datasource:fabric-ca-server.db TLS:{false [] { }} } CSP:0xc00029e7a0 Client: Intermediate:{ParentServer:{ URL: CAName: } TLS:{Enabled:false CertFiles:[] Client:{KeyFile: CertFile:}} Enrollment:{ Name: Secret:**** CAName: AttrReqs:[] Profile: Label: CSR: Type:x509 }} CRL:{Expiry:24h0m0s} Idemix:{IssuerPublicKeyfile: IssuerSecretKeyfile: RevocationPublicKeyfile: RevocationPrivateKeyfile: RHPoolSize:1000 NonceExpiration:15s NonceSweepInterval:15m}} 2020/02/07 08:55:12 [DEBUG] CA Home Directory: /etc/hyperledger/fabric-ca-server 2020/02/07 08:55:12 [DEBUG] Checking configuration file version '1.4.5-snapshot-292781e' against server version: '1.4.5-snapshot-292781e' 2020/02/07 08:55:12 [DEBUG] Initializing BCCSP: &{ProviderName:SW SwOpts:0xc0002a6100 PluginOpts:} 2020/02/07 08:55:12 [DEBUG] Initializing BCCSP with software options &{SecLevel:256 HashFamily:SHA2 Ephemeral:false FileKeystore:0xc000239a90 DummyKeystore: InmemKeystore:} 2020/02/07 08:55:12 [DEBUG] Initialize key material 2020/02/07 08:55:12 [DEBUG] Making CA filenames absolute 2020/02/07 08:55:12 [INFO] The CA key and certificate files already exist 2020/02/07 08:55:12 [INFO] Key file location: /etc/hyperledger/fabric-ca-server-config/b69b18b011256bb269956e7854bb1cae21f15ebcf14d188bb313bff3420ee576_sk 2020/02/07 08:55:12 [INFO] Certificate file location: /etc/hyperledger/fabric-ca-server-config/ca.importerorg.trade.com-cert.pem 2020/02/07 08:55:12 [DEBUG] Validating the CA certificate and key 2020/02/07 08:55:12 [DEBUG] Check CA certificate for valid dates 2020/02/07 08:55:12 [DEBUG] Check CA certificate for valid usages 2020/02/07 08:55:12 [DEBUG] Check CA certificate for valid IsCA value 2020/02/07 08:55:12 [DEBUG] Check that key type is supported 2020/02/07 08:55:12 [DEBUG] Check that key size is of appropriate length 2020/02/07 08:55:12 [DEBUG] Check that public key and private key match 2020/02/07 08:55:12 [DEBUG] Validation of CA certificate and key successful 2020/02/07 08:55:12 [DEBUG] Loading CN from existing enrollment information 2020/02/07 08:55:12 [DEBUG] Initializing DB 2020/02/07 08:55:12 [DEBUG] Initializing 'sqlite3' database at '/etc/hyperledger/fabric-ca-server/fabric-ca-server.db' 2020/02/07 08:55:12 [DEBUG] Using sqlite database, connect to database in home (/etc/hyperledger/fabric-ca-server/fabric-ca-server.db) directory 2020/02/07 08:55:12 [DEBUG] Creating SQLite database (/etc/hyperledger/fabric-ca-server/fabric-ca-server.db) if it does not exist... 2020/02/07 08:55:12 [DEBUG] Creating users table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating affiliations table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating certificates table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating credentials table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating revocation_authority_info table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating nonces table if it does not exist 2020/02/07 08:55:12 [DEBUG] Creating properties table if it does not exist 2020/02/07 08:55:12 [DEBUG] Successfully opened sqlite3 DB 2020/02/07 08:55:12 [DEBUG] Initializing identity registry 2020/02/07 08:55:12 [DEBUG] Initialized DB identity registry 2020/02/07 08:55:12 [DEBUG] Checking database levels '&{Identity:0 Affiliation:0 Certificate:0 Credential:0 RAInfo:0 Nonce:0}' against server levels '&{Identity:2 Affiliation:1 Certificate:1 Credential:1 RAInfo:1 Nonce:1}' 2020/02/07 08:55:12 [DEBUG] Migrating users table... 2020/02/07 08:55:12 [DEBUG] Upgrade identity table to level 1 2020/02/07 08:55:12 [DEBUG] Creating users table if it does not exist 2020/02/07 08:55:12 [DEBUG] Upgrade identity table to level 2 2020/02/07 08:55:12 [DEBUG] Creating users table if it does not exist 2020/02/07 08:55:12 [DEBUG] Migrating affiliation table... 2020/02/07 08:55:12 [DEBUG] Upgrade affiliations table to level 1 2020/02/07 08:55:12 [DEBUG] Creating affiliations table if it does not exist 2020/02/07 08:55:12 [DEBUG] Upgrade certificates table... 2020/02/07 08:55:12 [DEBUG] Upgrade certificates table to level 1 2020/02/07 08:55:12 [DEBUG] Creating certificates table if it does not exist 2020/02/07 08:55:12 [DEBUG] Migrating credentials table... 2020/02/07 08:55:12 [DEBUG] Migrating nonces table... 2020/02/07 08:55:12 [DEBUG] Migrating revocation_authority_info table... 2020/02/07 08:55:12 [DEBUG] Loading identity table 2020/02/07 08:55:12 [DEBUG] Loading identity 'admin' 2020/02/07 08:55:12 [DEBUG] DB: Getting identity admin 2020/02/07 08:55:12 [DEBUG] Max enrollment value verification - User specified max enrollment: 0, CA max enrollment: -1 2020/02/07 08:55:12 [DEBUG] DB: Add identity admin 2020/02/07 08:55:12 [DEBUG] Successfully added identity admin to the database 2020/02/07 08:55:12 [DEBUG] Registered identity: { Name:**** Pass:**** Type:client Affiliation: MaxEnrollments:-1 Attrs:map[hf.AffiliationMgr:1 hf.GenCRL:1 hf.IntermediateCA:1 hf.Registrar.Attributes:* hf.Registrar.DelegateRoles:* hf.Registrar.Roles:* hf.Revoker:1] } 2020/02/07 08:55:12 [DEBUG] Successfully loaded identity table 2020/02/07 08:55:12 [DEBUG] Loading affiliations table 2020/02/07 08:55:12 [DEBUG] DB: Add affiliation org2 2020/02/07 08:55:12 [DEBUG] Affiliation 'org2' added 2020/02/07 08:55:12 [DEBUG] DB: Add affiliation org2.department1 2020/02/07 08:55:12 [DEBUG] Affiliation 'org2.department1' added 2020/02/07 08:55:12 [DEBUG] DB: Add affiliation org1 2020/02/07 08:55:12 [DEBUG] Affiliation 'org1' added 2020/02/07 08:55:12 [DEBUG] DB: Add affiliation org1.department1 2020/02/07 08:55:12 [DEBUG] Affiliation 'org1.department1' added 2020/02/07 08:55:12 [DEBUG] DB: Add affiliation org1.department2 2020/02/07 08:55:12 [DEBUG] Affiliation 'org1.department2' added 2020/02/07 08:55:12 [DEBUG] Successfully loaded affiliations table 2020/02/07 08:55:12 [INFO] Initialized sqlite3 database at /etc/hyperledger/fabric-ca-server/fabric-ca-server.db 2020/02/07 08:55:12 [DEBUG] Initializing enrollment signer 2020/02/07 08:55:12 [DEBUG] No key found in BCCSP keystore, attempting fallback 2020/02/07 08:55:12 [DEBUG] validating configuration 2020/02/07 08:55:12 [DEBUG] validate local profile 2020/02/07 08:55:12 [DEBUG] profile is valid 2020/02/07 08:55:12 [DEBUG] validate local profile 2020/02/07 08:55:12 [DEBUG] profile is valid 2020/02/07 08:55:12 [DEBUG] validate local profile 2020/02/07 08:55:12 [DEBUG] profile is valid 2020/02/07 08:55:12 [DEBUG] CA initialization successful 2020/02/07 08:55:12 [DEBUG] Initializing Idemix issuer... 2020/02/07 08:55:12 [INFO] The issuer key was successfully stored. The public key is at: /etc/hyperledger/fabric-ca-server/IssuerPublicKey, secret key is at: /etc/hyperledger/fabric-ca-server/msp/keystore/IssuerSecretKey 2020/02/07 08:55:12 [DEBUG] Intializing revocation authority for issuer 'ca-importerorg' 2020/02/07 08:55:12 [DEBUG] Initialize Idemix issuer revocation key material 2020/02/07 08:55:12 [INFO] Idemix issuer revocation public and secret keys were generated for CA 'ca-importerorg' 2020/02/07 08:55:12 [INFO] The revocation key was successfully stored. The public key is at: /etc/hyperledger/fabric-ca-server/IssuerRevocationPublicKey, private key is at: /etc/hyperledger/fabric-ca-server/msp/keystore/IssuerRevocationPrivateKey 2020/02/07 08:55:12 [DEBUG] Intializing nonce manager for issuer 'ca-importerorg' 2020/02/07 08:55:12 [INFO] Home directory for default CA: /etc/hyperledger/fabric-ca-server 2020/02/07 08:55:12 [DEBUG] 1 CA instance(s) running on server 2020/02/07 08:55:12 [INFO] Operation Server Listening on 127.0.0.1:9443 2020/02/07 08:55:12 [DEBUG] TLS is enabled 2020/02/07 08:55:12 [DEBUG] TLS Certificate: /etc/hyperledger/fabric-ca-server-config/ca.importerorg.trade.com-cert.pem, TLS Key: /etc/hyperledger/fabric-ca-server-config/b69b18b011256bb269956e7854bb1cae21f15ebcf14d188bb313bff3420ee576_sk 2020/02/07 08:55:12 [DEBUG] Client authentication type requested: noclientcert 2020/02/07 08:55:12 [INFO] Listening on https://0.0.0.0:7054