Skip to content

teaclave_sgx_tool issue #731

@Huppert96

Description

@Huppert96

I have deploy the docker in my server. server OS is ubuntu 22.04. i have git clone the project from github master branch. then create docker by docker run -it -v $(pwd):/teaclave -w /teaclave --device /dev/sgx_enclave --device /dev/sgx_provision --device /dev/sgx/enclave --device /dev/sgx/provision -v /var/run/aesmd:/var/run/aesmd -v /etc/localtime:/etc/localtime:ro -v /etc/timezone:/etc/timezone:ro -e SGX_AESM_ADDR=1 teaclave/teaclave-build-ubuntu-2004-sgx-2.17.1:0.2.0.

Then i go to the docker, and run these commands.

bash -c ". /root/.cargo/env && \
     . /opt/sgxsdk/environment && \
     mkdir -p build && cd build && \
     cmake -DTEST_MODE=ON .. && \
     make -j"

Then i go to my server, and run "incubator-teaclave/docker$ sudo ./run-teaclave-services.sh". everything is okay.

Image

Also run "/teaclave/release/dcap# ./teaclave_dcap_ref_as" in the docker.

Finally i run "./teaclave_sgx_tool attestation --url https://localhost:8080--algorithm sgx_ecdsa" in docker and my server. both were wrong. just "Error: ServiceError"

Here is the error info in teaclave_dcap_ref_as.

Image

I have tried many methods, but no change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions