apache / incubator-teaclave

Apache Teaclave (incubating) is an open source universal secure computing platform, making computation on privacy-sensitive data safe and simple.
https://teaclave.apache.org
Apache License 2.0
757 stars 159 forks source link

DCAP Attestation Errors #710

Closed marioolf closed 7 months ago

marioolf commented 1 year ago

So I'm trying to deploy the teaclave services. Environment variables are configured as:

export AS_SPID="00000000000000000000000000000000"
export AS_KEY="00000000000000000000000000000000"
export AS_ALGO="sgx_ecdsa"
export AS_URL="https://host.docker.internal:8081"
export TEACLAVE_LOG=trace

AS_URL is pointing to the pccs service which is running:

image

Once I run ./run-teaclave-services.sh TLS connection error shows up:

image

Also, I tried attestation with the provided tool ( /release/tools/teaclave_sgx_tool) with the following command:

./teaclave_sgx_tool attestation --url https://localhost:8081 --algorithm sgx_ecdsa

The output showed the following error after displaying the server certificate:

image