-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CapsuleManager启动失败 #34
Comments
0xe011的错误对应的是SGX_QL_NO_PLATFORM_CERT_DATA,The platform library doesn't have any platfrom cert data. 看起来都是平台的证书等没有正确配置。请检查一下pccs部署的时候有没有正确订阅intel的api以及配置相关证书、密钥。 |
谢谢,另外请问运行TrustFlow整体流程所需的电脑配置如何,SGX和TDX更优先推荐哪个呢? |
电脑配置与实际运行的TEE APP有关,如果是运行一个小的app,对配置要求不高,内存上推荐16G或者32G以上内存。 我们更优推荐TDX,我们后续的规划也会全面拥抱机密虚拟机。 |
你好,在PCCS配置中设置代理后报错0xe019,请问还是证书的问题吗?已经订阅intel的api密钥了,因为没有证书所以运行的是没有开启mTLS的命令:occlum run /bin/capsule_manager_grpc --tls_config.enable_tls false,但是还是报错。 |
occlum的这个INFO可以忽略。0xe019还是访问PCCS的网络问题,请确认一下/etc/sgx_default_qcnl.conf这个配置,例如:
并且确保配置后把它复制到了occlum_instance目录的./image/etc/sgx_default_qcnl.conf下,然后重新occlum build。 |
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon. |
PCCS应该是安装好了,状态如下:
root@R750xa:/home/admin/occlum_instance# systemctl status pccs
pccs.service - Provisioning Certificate Caching Service (PCCS)
Loaded: loaded (/var/run/systemd/system/pccs.service, enabled)
Active: active (running)
启动CapsuleManager时报错如下:
root@R750xa:/home/admin/occlum_instance# occlum run /bin/capsule_manager_grpc --tls_config.enable_tls false
OU, SecretFlow
L, HZ
O, AntGroup
ST, HZ
CN, CapsuleManager
C, CN
[2024-11-22 08:55:12.635] [info] [sgx2_generator.cc:102] Start generating sgx2 report
[get_platform_quote_cert_data ../qe_logic.cpp:388] Error returned from the p_sgx_get_quote_config API. 0xe011
thread 'main' panicked at bin/grpc-as/src/main.rs:108:6:
capsule_manager init error: Error { code: InternalErr, details: Some("runified_attestation_generate_auth_report err: "[Enforce fail at trustflow/attestation/generation/sgx2/sgx2_generator.cc:114] ioctl(sgx_fd, SGXIOC_GET_DCAP_QUOTE_SIZE, "e_size) == 0. -1 vs 0.Fail to get quote size, errno = 22\0""), location: Some(ErrorLocation { line: 261, file: "capsule-manager/src/server.rs" }) }
note: run with
RUST_BACKTRACE=1
environment variable to display a backtrace配置PCCS时若设置为LAZY模式则报错0xe011,若设置为REQ模式则报错0xe047,请问这种情况有什么解决办法吗?
The text was updated successfully, but these errors were encountered: