Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Unable to communicate with CA on Saas with connection profile #152

@davidkel

Description

@davidkel

When trying to interact with the CA you get the error

Error: Calling register endpoint failed with error [Error: self signed certificate
    at TLSSocket.onConnectSecure (_tls_wrap.js:1473:34)
    at TLSSocket.emit (events.js:311:20)
    at TLSSocket._finishInit (_tls_wrap.js:916:8)
    at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:686:12) {
  code: 'DEPTH_ZERO_SELF_SIGNED_CERT'
}]
    at ClientRequest.<anonymous> (/Users/sofia/Desktop/project/we.trade2.0/trade-network/app/smart-contract/node_modules/fabric-ca-client/lib/FabricCAClient.js:354:12)
    at ClientRequest.emit (events.js:311:20)
    at TLSSocket.socketErrorListener (_http_client.js:426:9)
    at TLSSocket.emit (events.js:311:20)
    at emitErrorNT (internal/streams/destroy.js:92:8)
    at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)
    at processTicksAndRejections (internal/process/task_queues.js:84:21)

The CA Cert doesn't appear to be used as a trusted root cert

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions