diff --git a/.github/workflows/demo_test.yml b/.github/workflows/demo_test.yml index 57d57069..9064bff8 100644 --- a/.github/workflows/demo_test.yml +++ b/.github/workflows/demo_test.yml @@ -479,7 +479,7 @@ jobs: - name: Run the encalve tls client run: | sleep ${{ env.nap_time }}; - docker exec enclave_ra_tls_test bash -c "/opt/enclave-tls/bin/enclave-tls-client" || true + docker exec enclave_ra_tls_test bash -c "/usr/share/enclave-tls/samples/enclave-tls-client" || true vault_test: runs-on: ubuntu-18.04 diff --git a/demos/enclave_tls/run_enclave_tls_server_in_occlum.sh b/demos/enclave_tls/run_enclave_tls_server_in_occlum.sh index bec55a7d..5f6d8b69 100755 --- a/demos/enclave_tls/run_enclave_tls_server_in_occlum.sh +++ b/demos/enclave_tls/run_enclave_tls_server_in_occlum.sh @@ -8,12 +8,10 @@ cd occlum_workspace occlum init # 2. Copy files into Occlum Workspace and Build -cp -f /opt/enclave-tls/bin/enclave-tls-server image/bin +cp -f /usr/share/enclave-tls/samples/enclave-tls-server image/bin cp -f /opt/occlum/glibc/lib/libdl.so.2 image/opt/occlum/glibc/lib mkdir -p image/opt/enclave-tls cp -rf /opt/enclave-tls/lib image/opt/enclave-tls -# The following libs are required by libenclave_quote_sgx_ecdsa.so -cp /usr/lib/x86_64-linux-gnu/libsgx_dcap_quoteverify.so.1 image/opt/occlum/glibc/lib occlum build # 3. Run enclave_tls_server