Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Got an error 0xe00d when executing QuoteGeneration Sample #63

Closed
RMheng opened this issue Jan 2, 2020 · 4 comments
Closed

Got an error 0xe00d when executing QuoteGeneration Sample #63

RMheng opened this issue Jan 2, 2020 · 4 comments

Comments

@RMheng
Copy link

RMheng commented Jan 2, 2020

Hi,
I installed dcap driver and /dev/sgx appeared. But when executing samplecode, I got error:

This step is optional: the default enclave load policy is persistent:
set the enclave load policy as persistent:succeed!
[load_pce ../pce_wrapper.cpp:123] Error, call sgx_create_enclave for PCE fail [load_pce], SGXError:0001.
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe00d

I'm confused that whether I didn't install dcap driver correctly? But I didn't got error when I installed. And I referred to the procedure https://github.com/bitsyizhan/sgx/blob/master/Intel_SGX_DCAP_Linux_SW_Installation_Guide.pdf.

Thanks for your time!!!

@RMheng RMheng changed the title Got an error 0x Got an error 0xe00d when executing QuoteGeneration Sample Jan 2, 2020
@hyjiang
Copy link
Contributor

hyjiang commented Jan 22, 2020

You need to follow installation guide to install & configure PCCS.
Alternatively, you can remove the default QPL package, but the generated quote cannot be verified by QvE.

@ccolin318
Copy link

Hi,
I'm getting a similar error when I run the QuoteGeneration sample code. I'm running in hardware mode with SGX2 + FLC.

Here's the output:
This step is optional: the default enclave load policy is persistent:
set the enclave load policy as persistent:succeed!
Step1: Call sgx_qe_get_target_info:Error in sgx_qe_get_target_info. 0xe011

Any advice on resolving this error or what the cause may be?
Thanks!

@hyjiang
Copy link
Contributor

hyjiang commented Apr 6, 2020

Pls make sure you have configured PCCS correctly, you can follow PCCS README.
Also, In test env, you need to change to "USE_SECURE_CERT=FALSE" in file /etc/sgx_default_qcnl.conf.

@ccolin318
Copy link

Thank you for your help, I have it working now.

@llly llly closed this as completed Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants