- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page