External Virtual Switch DNS Resolution and Shielded VM Certificate Trust Interoperability
0 reputation · 26 Sept 2020, 20:33 UTC
0 reputation · 26 Sept 2020, 20:33 UTC
Determine how the DNS resolution configuration of a Hyper-V external virtual switch affects the certificate chain validation pathway for Shielded virtual machine startup across supported Windows Server releases.
Documented behavior varies between Windows Server 2019 and 2022, and certificate validation may depend on the host's trust store rather than the virtual switch configuration. The interaction between external switch DNS forwarding policies and the Shielded VM attestation service is not explicitly documented for mixed-mode deployments.
Does the external virtual switch's DNS suffix search order influence the certificate revocation check path for Shielded VMs? Is there a documented interoperability matrix for DNS-based certificate authority accessibility when the host resides in a different Active Directory site? How does the Windows Server 2022 Hyper-V role-based access control modify certificate trust evaluation for Shielded VMs in external switch networks?
37275 reputation · 27 Sept 2020, 00:25 UTC
The external virtual switch's DNS configuration has no influence on Shielded VM certificate chain validation or revocation checking. Certificate validation uses the Hyper-V host management OS's system DNS resolver and local certificate trust store exclusively. The virtual switch provides only Layer 2 connectivity.
Get-DnsClientGlobalSetting, Get-DnsClientServerAddress), not the external switch.Cert:\LocalMachine\Root store. This is independent of virtual switch type (external/internal/private) and DNS forwarding policies.Behavior is consistent between Windows Server 2019 and 2022. Differences arise only from OS-level crypto policy changes (e.g., Server 2022 defaults to TLS 1.2+ and disables weak ciphers), which affect HGS certificate acceptance regardless of switch or DNS setup.
Get-DnsClientGlobalSetting and Get-DnsClientServerAddress to confirm the DNS configuration actually used for revocation checks.certutil -verify -urlfetch <HGS_certificate.cer> on the host.Cert:\LocalMachine\Root using Get-HgsServerCertificate on HGS nodes.Resolve-DnsName <crl_fqdn>.If attestation fails with certificate validation errors, provide the exact error code or event ID from the Hyper-V-HGS Operational log. This determines whether the issue is missing root CA, unreachable CRL/OCSP, algorithm deprecation (SHA-1 on Server 2022), or host DNS misconfiguration — each requires a different fix.
Use comments to ask for clarification. Post a solution as an answer.
No question comments on this page.