Install all Intel® Software Guard Extensions (SGX) Platform Software (PSW) components to enable applications to detect Intel® SGX support.
- Installed Intel® SGX Software Development Kit and Platform Software package for Linux
- Installed the sgx-ra-sample
- Ran the server: ./run-server
- Ran client: ./run-client
- Received error: This system does not support Intel® SGX
- Access the SGX PSW libraries following one of two methods
- Configure access to Intel's apt repository as detailed in page 11 of SGX Installation Guide for Linux*:
- Build a local PSW apt repository
- Install all components of the SGX PSW:
$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-uae-service
- Confirm these locations for libsgx-uae-service:
$ dpkg -L libsgx-uae-service
/.
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libsgx_uae_service.so.2.3.213.1
/usr/share
/usr/share/doc
/usr/share/doc/libsgx-uae-service
/usr/share/doc/libsgx-uae-service/changelog.Debian.gz
/usr/share/doc/libsgx-uae-service/copyright
/usr/lib/x86_64-linux-gnu/libsgx_uae_service.so
/usr/lib/x86_64-linux-gnu/libsgx_uae_service.so.2
- Configure the proxy, if needed, in /etc/aesmd.conf and start and stop the aesmd service
$ sudo systemctl start aesmd
- Make the sgx-ra-sample to capture the paths to the PSW libraries:
- Open a terminal and run the server
$ ./run-server
- Open a different terminal and run the client:
$ ./run-client
The instructions for installing the Intel® Software Guard Extensions (Intel® SGX) PSW are missing libsgx_uae_service.