Hi Joey,
I would try to answer to your questions one by one.
Q1: Does the certificate referred to by the kid field verify the JWT? Are the 3 certificates on the jku site part of a certificate chain?
Yes, the certificate referenced by the kid field is used to verify the JWT's signature. The 3 certificates on the jku site form a certificate chain. The kid points to the leaf certificate, and the other two are intermediate certificates that complete the chain up to the root certificate.
Q2: Does the verification of the attestation JWT involve verifying the SGX certificate chain?
Yes, the verification process includes validating the SGX certificate chain. The JWT attestation result is tied to the SGX enclave, and the SGX certificates ensure the integrity and authenticity of the attestation.
Q3: How is the SGX certificate chain bound to the certificate chain displayed on the jku site?
The SGX certificate chain is embedded within the X509v3 extensions of the certificates on the jku site. These extensions contain SGX-specific information, linking the Azure Attestation Service's certificate chain to the SGX hardware root of trust. At a high level, the binding ensures that the attestation result (JWT) is cryptographically tied to the SGX enclave and the Azure Attestation Service's certificate chain.
Just in cases link for MSFT official doc's Azure Attestation Documentation.
Best regards,
Alex
P.S. If my answer help to you, please Accept my answer