Hello, @Danko Miladinovic !
I'll summarize what we discussed in the comments for anyone else who may be interested.
Why doesn't the sample application of the Azure confidential VM guest attestation work on my VM running outside of an Azure datacenter?
The sample application of Azure confidential VM guest attestation only works for Azure confidential VMs running inside of an Azure Data center. This is largely due to two factors:
- Azure confidential VMs are using AMD SEV-SNP features
- Implementation differences: On-prem SEV VMs may have different firmware leveraging VMPL (Virtual Machine Privilege Levels) and virtual TPM (Trusted Platform Module) authenticated by Azure.
More reading: