An Azure service that enables the connection of on-premises networks to Azure through site-to-site virtual private networks.
Hi @ Petrus Croes,
Welcome to Microsoft Q&A Platform.
You’re correct that for an Always On VPN device tunnel (which uses IKEv2 + machine certificate auth), the Azure VPN Gateway will perform a CRL check against the distribution points embedded in your issuing CA cert. If those URLs aren’t publicly reachable by the gateway, authentication will fail rasdial simply reports a generic auth error.
Is hosting a publicly reachable CRL really necessary?
Yes. When you use certificate-based authentication, Azure VPN Gateway must retrieve and validate the CRL from the CDP URLs in your CA certificate. If you don’t expose a publicly accessible CRL (for example, via an Azure Storage static website URL), the gateway can’t verify certificate revocation status and will refuse the tunnel.
Common causes for certificate-based auth failures on device tunnels:
- CRL distribution points aren’t reachable (DNS/firewall/networking issues).
- Certificates (root, intermediate, client) aren’t correctly installed in the Local Machine store.
- Client cert missing the Client Authentication EKU or wrong certificate template.
- Root/intermediate CA certs not uploaded to the VPN gateway’s point-to-site config.
- Mismatched subject name or SAN on the client cert vs. what you configured on the gateway.
- VPN profile deployed under the wrong context (needs to run as LOCAL SYSTEM via PsExec).
- UDP ports 500/4500 blocked on your network or your public IP address.
Troubleshooting steps you can run right now:
- From the VPN Gateway resource in the portal, run the “VPN diagnostics” blade to capture IKE logs (symptomId=IkeLogsVpnRcaInsights).
- On the client, manually invoke rasdial using the device tunnel profile to see more detailed errors.
- Test HTTP(s) reachability from a VM or from Azure Cloud Shell to your CRL URL.
- Double-check your certificate chain in MMC (Local Machine → Certificates → “Trusted Root” and “Intermediate CAs”).
Reference : Configure an Always On VPN device tunnel & Point-to-site certificate-based authentication overview &
VPN Gateway diagnostics for IKE and site-to-site issues
Please
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.