Skip to content

Accessing endpoints #3084

Answered by eddyashton
martijnlammers asked this question in Q&A
Oct 13, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@mAlyanak: An unable to get local issuer certificate error suggests curl is using a networkcert.pem file, but not the correct one for the current service. Are you in the correct workspace directory for the newly started service, or have you copied those certs to the current working directory?

The common folder populated by the sandbox.sh script is listed in the output:

10:07:39.854 | INFO     | __main__:run:85 - Loaded JS application: ../tests/js-app-bundle/
10:07:39.854 | INFO     | __main__:run:86 - Keys and certificates have been copied to the common folder: /data/src/CCF/build/workspace/sandbox_common

So you will need to use those certs to communicate, either by passing the full path:

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@eddyashton
Comment options

@martijnlammers
Comment options

Answer selected by martijnlammers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants