Guest User

hsm-error

a guest
Jun 24th, 2020
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.52 KB | None | 0 0
  1. # peer node start
  2. 2020-06-24 22:32:41.851 UTC [viperutil] getKeysRecursively -> DEBU 001 Found map[string]interface{} value for peer.BCCSP
  3. 2020-06-24 22:32:41.851 UTC [viperutil] getKeysRecursively -> DEBU 002 Found map[string]interface{} value for peer.BCCSP.PKCS11
  4. 2020-06-24 22:32:41.851 UTC [viperutil] unmarshalJSON -> DEBU 003 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
  5. 2020-06-24 22:32:41.852 UTC [viperutil] getKeysRecursively -> DEBU 004 Found real value for peer.BCCSP.PKCS11.Hash setting to string SHA2
  6. 2020-06-24 22:32:41.852 UTC [viperutil] unmarshalJSON -> DEBU 005 Unmarshal JSON: value is not a string: 256
  7. 2020-06-24 22:32:41.852 UTC [viperutil] getKeysRecursively -> DEBU 006 Found real value for peer.BCCSP.PKCS11.Security setting to int 256
  8. 2020-06-24 22:32:41.852 UTC [viperutil] getKeysRecursively -> DEBU 007 Found map[string]interface{} value for peer.BCCSP.PKCS11.FileKeyStore
  9. 2020-06-24 22:32:41.853 UTC [viperutil] unmarshalJSON -> DEBU 008 Unmarshal JSON: value cannot be unmarshalled: invalid character 'm' looking for beginning of value
  10. 2020-06-24 22:32:41.853 UTC [viperutil] getKeysRecursively -> DEBU 009 Found real value for peer.BCCSP.PKCS11.FileKeyStore.KeyStore setting to string msp/keystore
  11. 2020-06-24 22:32:41.853 UTC [viperutil] unmarshalJSON -> DEBU 00a Unmarshal JSON: value cannot be unmarshalled: invalid character '/' looking for beginning of value
  12. 2020-06-24 22:32:41.853 UTC [viperutil] getKeysRecursively -> DEBU 00b Found real value for peer.BCCSP.PKCS11.Library setting to string /usr/lib/libtacndp11.so
  13. 2020-06-24 22:32:41.854 UTC [viperutil] unmarshalJSON -> DEBU 00c Unmarshal JSON: value cannot be unmarshalled: invalid character 'D' looking for beginning of value
  14. 2020-06-24 22:32:41.854 UTC [viperutil] getKeysRecursively -> DEBU 00d Found real value for peer.BCCSP.PKCS11.Label setting to string Dinamo HSM
  15. 2020-06-24 22:32:41.854 UTC [viperutil] unmarshalJSON -> DEBU 00e Unmarshal JSON: value cannot be unmarshalled: invalid character 'p' looking for beginning of value
  16. 2020-06-24 22:32:41.854 UTC [viperutil] getKeysRecursively -> DEBU 00f Found real value for peer.BCCSP.PKCS11.Pin setting to string passwd
  17. 2020-06-24 22:32:41.854 UTC [viperutil] unmarshalJSON -> DEBU 010 Unmarshal JSON: value cannot be unmarshalled: invalid character 'P' looking for beginning of value
  18. 2020-06-24 22:32:41.854 UTC [viperutil] getKeysRecursively -> DEBU 011 Found real value for peer.BCCSP.Default setting to string PKCS11
  19. 2020-06-24 22:32:41.854 UTC [viperutil] getKeysRecursively -> DEBU 012 Found map[string]interface{} value for peer.BCCSP.SW
  20. 2020-06-24 22:32:41.854 UTC [viperutil] unmarshalJSON -> DEBU 013 Unmarshal JSON: value is not a string: 256
  21. 2020-06-24 22:32:41.854 UTC [viperutil] getKeysRecursively -> DEBU 014 Found real value for peer.BCCSP.SW.Security setting to int 256
  22. 2020-06-24 22:32:41.855 UTC [viperutil] getKeysRecursively -> DEBU 015 Found map[string]interface{} value for peer.BCCSP.SW.FileKeyStore
  23. 2020-06-24 22:32:41.855 UTC [viperutil] unmarshalJSON -> DEBU 016 Unmarshal JSON: value cannot be unmarshalled: unexpected end of JSON input
  24. 2020-06-24 22:32:41.855 UTC [viperutil] getKeysRecursively -> DEBU 017 Found real value for peer.BCCSP.SW.FileKeyStore.KeyStore setting to string
  25. 2020-06-24 22:32:41.855 UTC [viperutil] unmarshalJSON -> DEBU 018 Unmarshal JSON: value cannot be unmarshalled: invalid character 'S' looking for beginning of value
  26. 2020-06-24 22:32:41.855 UTC [viperutil] getKeysRecursively -> DEBU 019 Found real value for peer.BCCSP.SW.Hash setting to string SHA2
  27. 2020-06-24 22:32:41.855 UTC [viperutil] EnhancedExactUnmarshalKey -> DEBU 01a map[peer.BCCSP:map[Default:PKCS11 PKCS11:map[FileKeyStore:map[KeyStore:msp/keystore] Hash:SHA2 Label:Dinamo HSM Library:/usr/lib/libtacndp11.so Pin:passwd Security:256] SW:map[FileKeyStore:map[KeyStore:] Hash:SHA2 Security:256]]]
  28. 2020-06-24 22:32:41.856 UTC [bccsp_sw] createKeyStoreIfNotExists -> DEBU 01b KeyStore path [msp/keystore] missing [true]: [<clean>]
  29. 2020-06-24 22:32:41.856 UTC [bccsp_sw] createKeyStore -> DEBU 01c Creating KeyStore at [msp/keystore]
  30. 2020-06-24 22:32:41.856 UTC [bccsp_sw] createKeyStore -> DEBU 01d KeyStore created at [msp/keystore]
  31. 2020-06-24 22:32:41.856 UTC [bccsp_sw] openKeyStore -> DEBU 01e KeyStore opened at [msp/keystore]
  32. 2020-06-24 22:32:41.856 UTC [bccsp_p11] loadLib -> DEBU 01f Loading pkcs11 library [/usr/lib/libtacndp11.so]
  33. 2020-06-24 22:32:42.006 UTC [bccsp_p11] loadLib -> DEBU 020 Looking for Dinamo HSM, found label Dinamo HSM
  34. 2020-06-24 22:32:42.006 UTC [bccsp_p11] createSession -> DEBU 021 Created new pkcs11 session 1 on slot 1
  35. 2020-06-24 22:32:42.170 UTC [bccsp_p11] loadLib -> DEBU 022 Created new pkcs11 session 1 on slot 1
  36. 2020-06-24 22:32:42.171 UTC [bccsp] initBCCSP -> DEBU 023 Initialize BCCSP [PKCS11]
  37. 2020-06-24 22:32:42.171 UTC [msp] getPemMaterialFromDir -> DEBU 024 Reading directory /etc/hyperledger/fabric/msp/signcerts
  38. 2020-06-24 22:32:42.171 UTC [msp] getPemMaterialFromDir -> DEBU 025 Inspecting file /etc/hyperledger/fabric/msp/signcerts/cert.pem
  39. 2020-06-24 22:32:42.171 UTC [msp] getPemMaterialFromDir -> DEBU 026 Reading directory /etc/hyperledger/fabric/msp/cacerts
  40. 2020-06-24 22:32:42.171 UTC [msp] getPemMaterialFromDir -> DEBU 027 Inspecting file /etc/hyperledger/fabric/msp/cacerts/br-ca-bconnect-hom-blockchain-estaleiro-serpro-gov-br-9054.pem
  41. 2020-06-24 22:32:42.171 UTC [msp] getPemMaterialFromDir -> DEBU 028 Reading directory /etc/hyperledger/fabric/msp/admincerts
  42. 2020-06-24 22:32:42.172 UTC [msp] getPemMaterialFromDir -> DEBU 029 Reading directory /etc/hyperledger/fabric/msp/intermediatecerts
  43. 2020-06-24 22:32:42.172 UTC [msp] getMspConfig -> DEBU 02a Intermediate certs folder not found at [/etc/hyperledger/fabric/msp/intermediatecerts]. Skipping. [stat /etc/hyperledger/fabric/msp/intermediatecerts: no such file or directory]
  44. 2020-06-24 22:32:42.172 UTC [msp] getPemMaterialFromDir -> DEBU 02b Reading directory /etc/hyperledger/fabric/msp/tlscacerts
  45. 2020-06-24 22:32:42.172 UTC [msp] getPemMaterialFromDir -> DEBU 02c Inspecting file /etc/hyperledger/fabric/msp/tlscacerts/serprorfbsslh1.pem
  46. 2020-06-24 22:32:42.172 UTC [msp] getPemMaterialFromDir -> DEBU 02d Reading directory /etc/hyperledger/fabric/msp/tlsintermediatecerts
  47. 2020-06-24 22:32:42.172 UTC [msp] getMspConfig -> DEBU 02e TLS intermediate certs folder not found at [/etc/hyperledger/fabric/msp/tlsintermediatecerts]. Skipping. [stat /etc/hyperledger/fabric/msp/tlsintermediatecerts: no such file or directory]
  48. 2020-06-24 22:32:42.172 UTC [msp] getPemMaterialFromDir -> DEBU 02f Reading directory /etc/hyperledger/fabric/msp/crls
  49. 2020-06-24 22:32:42.172 UTC [msp] getMspConfig -> DEBU 030 crls folder not found at [/etc/hyperledger/fabric/msp/crls]. Skipping. [stat /etc/hyperledger/fabric/msp/crls: no such file or directory]
  50. 2020-06-24 22:32:42.173 UTC [msp] getMspConfig -> DEBU 031 Loading NodeOUs
  51. 2020-06-24 22:32:42.173 UTC [msp] newBccspMsp -> DEBU 032 Creating BCCSP-based MSP instance
  52. 2020-06-24 22:32:42.174 UTC [msp] New -> DEBU 033 Creating Cache-MSP instance
  53. 2020-06-24 22:32:42.174 UTC [msp] loadLocaMSP -> DEBU 034 Created new local MSP
  54. 2020-06-24 22:32:42.174 UTC [msp] Setup -> DEBU 035 Setting up MSP instance brMSP
  55. 2020-06-24 22:32:42.176 UTC [msp.identity] newIdentity -> DEBU 036 Creating identity instance for cert -----BEGIN CERTIFICATE-----
  56. MIIGNDCCBBygAwIBAgIBBzANBgkqhkiG9w0BAQ0FADBpMQswCQYDVQQGEwJCUjET
  57. ...<hidden>
  58. 0uylz6QGLhM=
  59. -----END CERTIFICATE-----
  60. 2020-06-24 22:32:42.176 UTC [msp.identity] newIdentity -> DEBU 037 Creating identity instance for cert -----BEGIN CERTIFICATE-----
  61. MIIHGDCCBQCgAwIBAgIMQeQcfqALy2sJyOq3MA0GCSqGSIb3DQEBCwUAMIGUMQsw
  62. ...<hidden>
  63. tAtgSKoY3AGhrdV4kFP08vM9Eb7pGvauiSsGBLs1B8CsHo4Yy7l3jF0VWzw=
  64. -----END CERTIFICATE-----
  65. 2020-06-24 22:32:42.176 UTC [bccsp_p11] getSession -> DEBU 038 Reusing existing pkcs11 session 1 on slot 1
  66. 2020-06-24 22:32:42.231 UTC [msp] getSigningIdentityFromConf -> DEBU 039 Could not find SKI [d69fe5487378e0914e8d65870128a8d4b55d05a502c45daddea30c7452a1fe2c], trying KeyMaterial field: Key with SKI d69fe5487378e0914e8d65870128a8d4b55d05a502c45daddea30c7452a1fe2c not found in msp/keystore
  67. Failed getting key for SKI [[214 159 229 72 115 120 224 145 78 141 101 135 1 40 168 212 181 93 5 165 2 196 93 173 222 163 12 116 82 161 254 44]]
  68. github.com/hyperledger/fabric/bccsp/sw.(*CSP).GetKey
  69. /opt/gopath/src/github.com/hyperledger/fabric/bccsp/sw/impl.go:170
  70. github.com/hyperledger/fabric/bccsp/pkcs11.(*impl).GetKey
  71. /opt/gopath/src/github.com/hyperledger/fabric/bccsp/pkcs11/impl.go:167
  72. github.com/hyperledger/fabric/msp.(*bccspmsp).getSigningIdentityFromConf
  73. /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:196
  74. github.com/hyperledger/fabric/msp.(*bccspmsp).setupSigningIdentity
  75. /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:369
  76. github.com/hyperledger/fabric/msp.(*bccspmsp).preSetupV143
  77. /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:554
  78. github.com/hyperledger/fabric/msp.(*bccspmsp).setupV143
  79. /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimplsetup.go:615
  80. github.com/hyperledger/fabric/msp.(*bccspmsp).Setup
  81. /opt/gopath/src/github.com/hyperledger/fabric/msp/mspimpl.go:240
  82. github.com/hyperledger/fabric/msp/cache.(*cachedMSP).Setup
  83. /opt/gopath/src/github.com/hyperledger/fabric/msp/cache/cache.go:88
  84. github.com/hyperledger/fabric/msp/mgmt.LoadLocalMspWithType
  85. /opt/gopath/src/github.com/hyperledger/fabric/msp/mgmt/mgmt.go:32
  86. github.com/hyperledger/fabric/peer/common.InitCrypto
  87. /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:143
  88. github.com/hyperledger/fabric/peer/common.InitCmd
  89. /opt/gopath/src/github.com/hyperledger/fabric/peer/common/common.go:309
  90. github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).execute
  91. /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:746
  92. github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).ExecuteC
  93. /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:852
  94. github.com/hyperledger/fabric/vendor/github.com/spf13/cobra.(*Command).Execute
  95. /opt/gopath/src/github.com/hyperledger/fabric/vendor/github.com/spf13/cobra/command.go:800
  96. main.main
  97. /opt/gopath/src/github.com/hyperledger/fabric/peer/main.go:53
  98. runtime.main
  99. /opt/go/src/runtime/proc.go:203
  100. runtime.goexit
  101. /opt/go/src/runtime/asm_amd64.s:1357
  102. 2020-06-24 22:32:42.231 UTC [main] InitCmd -> ERRO 03a Cannot run peer because error when setting up MSP of type bccsp from directory /etc/hyperledger/fabric/msp: KeyMaterial not found in SigningIdentityInfo
Add Comment
Please, Sign In to add comment