e.g. openssl req -x509 -nodes -newkey rsa:4096 -keyout server.key -out sever.crt -days 365
To be able to run the above code some external libraries are needed:
libprotobuf-dev
, libprotobuf-c0-dev
and protobuf-compiler
libboost-thread-dev
, libboost-system-dev
curl
, libcurl4-openssl-dev
libssl
liblog4cpp5-dev
After the installation of those dependencies, the code can be compiled with the following commands:
cd ServiceProvider
make
cd ../Application
make SGX_MODE=HW SGX_PRERELEASE=1