-
Notifications
You must be signed in to change notification settings - Fork 49
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
Curl errors in samples/TEE_aware #1497
Comments
Can you share some details on where you are running this? Is this an Azure VM? |
AS @vtikoo indicates - we test on Azure VMs currently. You can also try to set up Intel QPL per the instructions here on non Azure VMs https://github.com/openenclave/openenclave/pull/4773/files, but we have not validates these instructions at this time with Mystikos |
Thanks for the quick responses!
I am currently running this from a fresh Ubuntu 20.04 installation on my local machine (I setup a bootable USB M.2. SSD as my dev environment for this project). I followed the openenclave install guide and the mystikos install guide (.deb v0.11.0). I am currently trying out different confidential computing frameworks that support SGX. For example, asylo, openenclave, Ego etc. Eventually my goal is to develop a small application that hosts an HTTPs server that I can send data to (for example a part of a pointcloud) and then processes that data securely in an enclave. So that the data cannot be seen by the cloud provider nor anyone who listens in transit. And I also intend to use remote attestation, to verify that the cloud provider is running the exact code I provided etc.
Thank you for the link to the guide to setup Intel QPL, I will definitely take a look at that 👍 I also looked at guides like: If you have any more links and resources that could help me, I would very much appreciate it 👍 |
I followed the instruction of @radhikaj and installed the PCCS service. When running the TEE_aware example the curl errors are gone but the self signed certificate generated in the enclave cannot be validated.
ret = syscall(SYS_myst_verify_cert, cert, cert_size, _verifier, NULL);
assert(ret == 0); In the process of installing the |
I am trying to run the TEE_aware sample, but I am getting errors when running the program.
Steps to reproduce
cd mystikos/samples/TEE_aware/gencreds
export MYSTIKOS_INSTALL_DIR=/opt/mystikos
(installed version 0.11 via .deb package)make appdir
make run
Am I missing something? As far as I understand, the sample should create a self signed certificate in an enclave and then verify that certificate? But what is curl trying to do, query some certificates/ or revocations lists etc.?
Any help is much appreciated 👍
The text was updated successfully, but these errors were encountered: