- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am also getting the same error @k__balaganapathy can you please tell where to configure the libsgx_uae_service.so path?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello nikp18,
You should not need to manually add the path to the SGX PSW libraries.
Try re-installing all the SGX PSW libs. The steps below assume you are using Ubuntu 20.04. If this is not the case, find the instructions for installing the PSW in SGX Installation Guide.
- Following Page 11 of SGX Installation Guide
$ echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list ; wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add - ; sudo apt-get update
$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-uae-service
- After installation, confirm these locations:
$ 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. Then stop and restart aesmd.
$ sudo systemctl stop aesmd
$ sudo systemctl start aesmd
Install the sgx-ra-sample specifying the path to your OpenSSL libs and the SGX SDK.
- Install pre-requisites:
$ sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python-is-python3 libssl-dev git cmake perl
$ sudo apt-get install libcurl4-openssl-dev protobuf-compiler libprotobuf-dev debhelper cmake reprepro unzip
- Go into the sgx-ra-sample directory. The SSL and SDK paths reflect my system so edit the ./configure command line as appropriate for your system:
$ ./bootstrap
$./configure --with-openssldir=/usr/lib/ssl --with-sgxsdk=/home/pse/sgx/sgxsdk
$ make
- Download the Attestation Report Root CA Certificate, this is the IAS_REPORT_SIGNING_CA_FILE in sgx-ra-sample/settings.
$ wget https://certificates.trustedservices.intel.com/Intel_SGX_Attestation_RootCA.pem
- Find your SPID, Primary Key, Secondary Key in the IAS Portal and enter them in the file sgx-ra-sample/settings
- Open a terminal and run
$ ./run-server
- Open a different terminal:
$ ./run-client
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello nikp18,
You should not need to manually add the path to the SGX PSW libraries.
Try re-installing all the SGX PSW libs. The steps below assume you are using Ubuntu 20.04. If this is not the case, find the instructions for installing the PSW in SGX Installation Guide.
- Following Page 11 of SGX Installation Guide
$ echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list ; wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | sudo apt-key add - ; sudo apt-get update
$ sudo apt-get install libsgx-launch libsgx-urts libsgx-epid libsgx-quote-ex libsgx-uae-service
- After installation, confirm these locations:
$ 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. Then stop and restart aesmd.
$ sudo systemctl stop aesmd
$ sudo systemctl start aesmd
Install the sgx-ra-sample specifying the path to your OpenSSL libs and the SGX SDK.
- Install pre-requisites:
$ sudo apt-get install build-essential ocaml ocamlbuild automake autoconf libtool wget python-is-python3 libssl-dev git cmake perl
$ sudo apt-get install libcurl4-openssl-dev protobuf-compiler libprotobuf-dev debhelper cmake reprepro unzip
- Go into the sgx-ra-sample directory. The SSL and SDK paths reflect my system so edit the ./configure command line as appropriate for your system:
$ ./bootstrap
$./configure --with-openssldir=/usr/lib/ssl --with-sgxsdk=/home/pse/sgx/sgxsdk
$ make
- Download the Attestation Report Root CA Certificate, this is the IAS_REPORT_SIGNING_CA_FILE in sgx-ra-sample/settings.
$ wget https://certificates.trustedservices.intel.com/Intel_SGX_Attestation_RootCA.pem
- Find your SPID, Primary Key, Secondary Key in the IAS Portal and enter them in the file sgx-ra-sample/settings
- Open a terminal and run
$ ./run-server
- Open a different terminal:
$ ./run-client
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hell nikp18,
Do you still need help with this issue?
Regards,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page