> Hi @xglreal, thanks for your question! Sorry, I couldn't help you if you
> cannot provide more detailed information. Like how did you setup the
> environment?
The teaclave_dcap_ref_as is builded on the steps:
**docker run --rm -v $(pwd):/teaclave -w /teaclave \
-it teaclave/teaclave-build-ubuntu-1804-sgx-dcap-1.6:latest \
bash -c ". /root/.cargo/env && \
. /opt/sgxsdk/environment && \
mkdir -p build && cd build && \
cmake -DTEST_MODE=ON -DDCAP=ON .. && \
make"
docker run --rm -v $(pwd):/teaclave -w /teaclave \
-it teaclave/teaclave-build-ubuntu-1804-sgx-2.9.1:latest \
bash -c ". /root/.cargo/env && \
. /opt/sgxsdk/environment && \
mkdir -p build && cd build && \
cmake -DTEST_MODE=ON -DDCAP=ON .. && \
make"**
and the **teaclave_dcap_ref_as** will appear in the directory
incubator-teaclave/release/dcap/.
I use **incubator-teaclave/release/dcap/teaclave_dcap_ref_as**, the builded
tool to start dcap service. The setup message is below:
_Configured for development.
=> address: localhost
=> port: 8080
=> log: normal
=> workers: 4
=> secret key: generated
=> limits: forms = 32KiB
=> keep-alive: 5s
=> tls: enabled
Mounting /:
=> POST /sgx/dev/attestation/v4/report application/json (verify_quote)
Rocket has launched from https://localhost:8080_
Then, I use the command **./teaclave_sgx_tool attestation --url
https://localhost:8080 --algorithm sgx_ecdsa** to get the dcap service, but
eventually I fail to get the service.
The error message is below:
_Error: ServiceError_
Is there anyone can help me to fix it?
Thanks.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/apache/incubator-teaclave/issues/469#issuecomment-769065843