ra-tls-secret-prov demo: error: AESM service returned error 1; this may indicate that infrastructure for the DCAP attestation requested by Gramine is missing on this machine #971
Unanswered
RicLee0124
asked this question in
Q&A
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am testing tihis demo https://github.com/gramineproject/gramine/tree/v1.3/CI-Examples/ra-tls-secret-prov, I test as the following code:
make app dcap RA_TYPE=dcap
cd secret_prov_pf
RA_TLS_ALLOW_DEBUG_ENCLAVE_INSECURE=1
RA_TLS_ALLOW_OUTDATED_TCB_INSECURE=1
./server_dcap wrap_key &
gramine-sgx ./client
when I run "gramine-sgx ./client", I got an error:
"error: AESM service returned error 1; this may indicate that infrastructure for the DCAP attestation requested by Gramine is missing on this machine
error: load_enclave() failed with error -1"
I think I have not instlalled the dcap attestation infrastructure, so what shoud i intall on gramine.
additional: I use "sudo apt-get install gramine" to instlall gramine following thie step https://gramine.readthedocs.io/en/latest/quickstart.html
Beta Was this translation helpful? Give feedback.
All reactions