- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I am trying to test remote attestation using curl. I've generated a quote.dat but when I run the below command, I get the following results:
curl -X POST "https://api.trustedservices.intel.com/sgx/attestation/v4/report" -H "Ocp-Apim-Subscription-Key: <my primary key>" -H "Content-Type: application/json" --data-binary "@quote.dat"
{ "statusCode": 401, "message": "Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription."
I have subscribed to the following services on my Intel account:
Product Intel® Software Guard Extensions Provisioning Certification Service
Product DEV Intel® Software Guard Extensions Attestation Service (Linkable) subscription
Product Intel® Software Guard Extensions Registration Service subscription
I am using the Primary key from the second service on this list. What am I doing wrong?
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Hello.
Per the latest IAS documentation, to use the DEV environment, you must use the https://api.trustedservices.intel.com/sgx/dev base url, and also API version 5 is available. For example: https://api.trustedservices.intel.com/sgx/dev/attestation/v5/report
Regards.