-
Notifications
You must be signed in to change notification settings - Fork 165
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
MPA start failed and get pckcert 404 #364
Comments
|
Of course, registration has two ways: 1. MPA is used to do direct registration. 2. PCKIDretrieval tool could be used to do indirect registration. You can refer to : https://download.01.org/intel-sgx/latest/dcap-latest/linux/docs/DCAP_ECDSA_Orientation.pdf |
root@shudun:/opt/intel/sgx-pck-id-retrieval-tool# ./PCKIDRetrievalTool this is pckid_retrieval.csv I obtained the platform using the Python pccsadmin. py collect platform_list.json Afterwards, I will use the platform_list.json failed to apply for PCK certificate from Intel Failed to get PCK certs for platform enc_ppid:4e2f65f095740d8db28212925f0080e87a35349bd0df4b17de10e3867d90f35f2dbb257e1406ae29ef5893fdbe366025a9dea2a4989706d982d88097fe8bb4f3a5e827af79454fac85154c7d1ab9c883e62a485ac3ad4fcb5c43f4102b1c49b9cb4dcbd927a13ef010c265c5d5af67e1f605604b0de993083fd50fda0985b87b56e145b0f7031db8144cdcc2b89c97168d41465f52a281fbc536f54fd88361d298c37ecad1cc8cae90c6d75aded8efcf0ba51588eaf0650a315317194891d5e02e9f4f853d755991f933e7b23124cebf8f7bbf2b50cf23c84de0ed8dab72091c81d061e33636c21cd24cb8c29188302982a6b672e6a70f945a096a146af6b698bc33b869513c287dbc5215a1f805e5f11cdcdbeb07f518b3f30a598d938f878f63226590fef4b4fa89aebd972ddf627187283a2ce3bcc2477a576bb3c073e5a6d9d6fa8d4b48d5dcb93532cd086ab9bb2afd5e42c63d9f423990d3c1efa162f5d6d26ec1e8f19a42e50d2b6f5479f12fb7d12a0ca1ca11b55ab7dbfbf17d2f45, pce_id:0000 |
in platform_list.json the platform_manifest is null |
did you execute this PCKIDRetrieval tool in host/bare-mental environment? |
I executed PCKIDRetrieval on the virtual system Ubuntu 22.04 on ESXI because the machine already has ESXI installed. Do you mean that the host cannot install ESXI and should be installed directly on Ubuntu systems? |
No. |
Can you check if these 2 variables exist on your host? They are needed for registration. |
That means I need to uninstall VM and reinstall Ubuntu, and run PCKIDRetrieval directly in Ubuntu. Is this okay? |
At present, I can only access the VM host, which does not have this file |
You can't register your platform on VM because the registration process need the information stored in these 2 variables. you need to register your platfrom on host(which owns these 2 variables), after that you can do normal action in VM. |
I understand what you said, but one issue is that if other services are deployed on this machine, I cannot reinstall the system on the machine, which is not realistic. I can use another hard drive to enter the system and complete the registration. Can we replace it with the original hard drive and import the PCK certificate for remote authentication? |
Yes, you can replace hard drive and do registration to check. |
OK sudo LD_LIBRARY_PATH=. ./PCKIDRetrievalTool -platform_id "219d07423c796a6cb7a8e69622bc90ac This machine does not have PCCS installed. PCCS is on another machine and is not connected to the network. It was deployed using the OFF_LINE mode. How should I generate a pckid_ Where is the retrieval.csv file? |
Currently, I have completed registration and am using curl - v - X POST -- data '{"platformManifest": "xxx", "pceid": "xxxx"}'“ https://api.trustedservices.intel.com/sgx/certification/v4/pckcerts "- H" Ocp API Subscription Key: {xxxx} "- H" Content Type: application/JSON“ We also obtained the PCK certificate JSON, but encountered an error of 400 when importing the certificate to the PCCS service. |
|
this is the process I am currently undergoing:
this step cannot directly generate a CSV file and prompts to write it to PCCS. if you do not use -platform_id parameter can directly generate CSV files
|
@reclock Greetings! I've encountered same problem. Currently I'm trying to get my platform_manifest and wondering how you managed to pull it off (the 'manifest.data' file) Do you have any updates on this thread? anyone? |
Yes, the MPA requires a network to complete the registration process. |
Thank you for your reply! But I don't know how to operate to complete this part[sad] |
Hello, I currently have a physical server machine with an Intel (R) Xeon (R) Silver 4310 * 2 CPU. The system is using Ubuntu 22.04, which was virtualized using EXSI7.0. Currently, the machine cannot be connected to the network.
I found that machines with multiple CPUs need to register to use SGX. I installed the MPA service, but the service exited after starting it
I have enabled SGX reset mode and checked the log file/var/log/mpa_ Registration.log:
[22-01-2024 09:36:10] INFO: SGX Registration Agent version: 1.18.100.1
[22-01-2024 09:36:10] INFO: Starts Registration Agent Flow
[22-01-2024 09:36:10] Error: readUEFIVar: failed to open uefi variable/sys/firmware/efi/efivars/SgxRegistrationStatus-f236c5dc-a491-4bbe-bcdd-8885770df45, error: No such file or directory
[22-01-2024 09:36:10] Error: getRegistrationStatus: SgxRegistrationStatus UEFI variable was not found or size not as expected
[22-01-2024 09:36:10] Error: getRegistrationStatus: SgxRegistrationStatus automatic size: 0, expected size: 7
[22-01-2024 09:36:10] Error: Registration Flow - getRegistrationStatus failed, error: 4
[22-01-2024 09:36:10] INFO: setRegistrationStatus: status. status=0x1a, statusUefi. status=0x02
[22-01-2024 09:36:10] Error: writeUEFIVar: failed to open uefi variable/sys/firmware/efi/efivars/SgxRegistrationStatus-f236c5dc-a491-4bbe-bcdd-8885770df45, error: No such file or directory
[22-01-2024 09:36:10] Error: setRegistrationStatus: failed to write uefi variable
[22-01-2024 09:36:10] Error: setRegistrationStatus failed, error: 4
[22-01-2024 09:36:10] INFO: Completed Registration Agent Flow
This is my BISO settings:
this is my ESXI settings:
My question is:
Q1: Do MPA services need to be connected to the internet in order to be used? Is it impossible to complete registration without connecting to the internet? Because I saw Intel_ SGX_ DCAP_ Multipackage_ The document SW.pdf states that networking is required
The text was updated successfully, but these errors were encountered: