Network Requirements¶
CertifyClouds runs in your Azure tenant, inside your VNet, against your Key Vaults. This page lists every network path the application needs in order to function: what it talks to outbound, what reaches it inbound, and the NSG / firewall rules you'll need.
If activation or feature calls are failing on a fresh deploy, work through this page first.
Outbound: what CertifyClouds talks to¶
The Container App (or Container Instance) must be able to reach the following hosts on 443/tcp. The certificate chain check also needs the CA addresses listed below, usually on 80/tcp. If your subnet has an NSG with default-deny outbound, an Azure Firewall with FQDN filtering, or a corporate egress proxy, allow these connections.
Required, core platform¶
| FQDN | Why | When |
|---|---|---|
license.certifyclouds.com | Licence validation and version checks. | At startup and regularly while running |
login.microsoftonline.com | Microsoft Entra ID token acquisition for the Managed Identity. | Continuously |
login.microsoft.com | Microsoft sign-in. | During sign-in |
*.vault.azure.net | Key Vault read/write for Scan and Rotation. | Continuously |
graph.microsoft.com | App Registration discovery and access checks on every tier; credential management with Rotation. | From first start |
management.azure.com | Subscription and Key Vault scans, TLS endpoint discovery, access checks in Settings → Access, and Dependencies resource updates. | When scanning, discovering TLS endpoints, checking access, or using Dependencies |
mcr.microsoft.com, *.data.mcr.microsoft.com | Container image used during deployment. | During deployment |
*.azurecr.io | Your registry, from which the app pulls its image. | At startup and during updates |
*.blob.core.windows.net, packages.aks.azure.com, acs-mirror.azureedge.net | Azure deployment services. | During deployment |
Conditional, only required for specific features¶
| FQDN | Why | When |
|---|---|---|
| Public CA issuer addresses named in your Key Vault certificates | Download intermediate certificates for the certificate chain check. These addresses usually use plain HTTP on 80/tcp, but may use HTTPS on 443/tcp. Turn off Check certificate chains in Settings → Advanced if you cannot allow this access. | When checking CA-issued certificate chains during scans |
smtp.sendgrid.net | Outbound email for alerts, if SendGrid is the configured provider. | If using SendGrid |
| Your SMTP host | Outbound email if SMTP is configured. | If using SMTP |
events.pagerduty.com | PagerDuty incident delivery for alert rules. | If PagerDuty alerting is configured |
secretsmanager.{region}.amazonaws.com, acm.{region}.amazonaws.com, sts.amazonaws.com | AWS Secrets Manager and Certificate Manager sync targets, plus AWS credential validation. | If using Multi-Cloud Sync to AWS (PRO tier) |
secretmanager.googleapis.com, certificatemanager.googleapis.com, oauth2.googleapis.com | GCP Secret Manager and Certificate Manager sync targets, plus service-account token exchange. | If using Multi-Cloud Sync to GCP (PRO tier) |
sts.googleapis.com, iamcredentials.googleapis.com | Keyless sign-in to GCP: the app's Azure identity is exchanged for a short-lived Google token, so no service-account key is stored. | If using keyless Multi-Cloud Sync to GCP (PRO tier) |
| Your HashiCorp Vault or Infisical address, or your HTTPS receiver's endpoint URL | The self-hosted secret manager or receiver CertifyClouds copies to, on the port in the address you enter (commonly 8200 for Vault and 443 for Infisical or a receiver). Reached directly, never through a proxy, and only at addresses listed in SYNC_PRIVATE_EGRESS_CIDRS. See Self-hosted secret managers. | If using sync to a self-hosted secret manager (PRO tier) |
| Your AKS clusters' API servers | Kubernetes discovery reads the workloads in each cluster from its API server address on 443/tcp. A private cluster needs a network path; see Private AKS clusters. | During resource scans and cluster access checks, if Kubernetes discovery is set up (PRO tier) |
| Your SIEM endpoint | Webhook-based audit forwarding under Settings → Alerts. | If configured |
NSG / firewall configuration¶
Option A: Azure Firewall with FQDN tags¶
Microsoft ships FQDN tags that cover many Microsoft endpoints automatically:
AzureKeyVaultcovers*.vault.azure.netAzureContainerRegistrycovers your ACR, from which the app pulls its image
You still need to add the following manually as they are not covered by the standard FQDN tags:
license.certifyclouds.comlogin.microsoft.com,mcr.microsoft.com,*.data.mcr.microsoft.com,*.blob.core.windows.net,packages.aks.azure.com,acs-mirror.azureedge.netgraph.microsoft.comlogin.microsoftonline.commanagement.azure.com- The public CA issuer addresses named in your certificates, usually on
80/tcp, if certificate chain checks are on
Option B: Plain NSG outbound rules¶
NSGs do not support FQDN filtering, so allow outbound 443/tcp to the relevant Azure service tags plus Internet for the non-Azure endpoints. Adjust subnet, NSG names, and priorities to your environment:
# Microsoft Entra ID authentication
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-AzureAD-Outbound" \
--priority 100 \
--direction Outbound \
--destination-address-prefixes AzureActiveDirectory \
--destination-port-ranges 443 \
--access Allow --protocol Tcp
# Key Vault data plane
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-KeyVault-Outbound" \
--priority 110 \
--direction Outbound \
--destination-address-prefixes AzureKeyVault \
--destination-port-ranges 443 \
--access Allow --protocol Tcp
# Azure Resource Manager (used by scans, TLS discovery and access checks)
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-AzureResourceManager-Outbound" \
--priority 120 \
--direction Outbound \
--destination-address-prefixes AzureResourceManager \
--destination-port-ranges 443 \
--access Allow --protocol Tcp
# CA issuer addresses for certificate chain checks (usually plain HTTP)
# Omit this rule if Check certificate chains is off in Settings > Advanced.
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-CA-Issuers-HTTP-Outbound" \
--priority 210 \
--direction Outbound \
--destination-address-prefixes Internet \
--destination-port-ranges 80 \
--access Allow --protocol Tcp
# Generic internet, licence server, deployment services, optional SendGrid, etc.
# Use Azure Firewall FQDN filtering for tighter control if needed.
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-Internet-HTTPS-Outbound" \
--priority 200 \
--direction Outbound \
--destination-address-prefixes Internet \
--destination-port-ranges 443 \
--access Allow --protocol Tcp
Option C: Corporate egress proxy with allowlist¶
If outbound traffic forces through a corporate proxy with an allowlist, hand the list below to your network team:
license.certifyclouds.com
login.microsoftonline.com
login.microsoft.com
*.vault.azure.net
graph.microsoft.com
management.azure.com # Scans, TLS discovery, Settings > Access and Dependencies
mcr.microsoft.com
*.data.mcr.microsoft.com
*.azurecr.io
*.blob.core.windows.net
packages.aks.azure.com
acs-mirror.azureedge.net
# CA issuer addresses named in your certificates: allow HTTP (usually port 80)
# and HTTPS (port 443) when Check certificate chains is on
smtp.sendgrid.net # If using SendGrid for email alerts
events.pagerduty.com # If PagerDuty alerting is configured
secretsmanager.<region>.amazonaws.com # If using Multi-Cloud Sync to AWS (PRO)
acm.<region>.amazonaws.com # If using Multi-Cloud Sync to AWS (PRO)
sts.amazonaws.com # If using Multi-Cloud Sync to AWS (PRO)
secretmanager.googleapis.com # If using Multi-Cloud Sync to GCP (PRO)
certificatemanager.googleapis.com # If using Multi-Cloud Sync to GCP (PRO)
oauth2.googleapis.com # If using Multi-Cloud Sync to GCP (PRO)
sts.googleapis.com # If using keyless Multi-Cloud Sync to GCP (PRO)
iamcredentials.googleapis.com # If using keyless Multi-Cloud Sync to GCP (PRO)
If a proxy is required, set HTTPS_PROXY and NO_PROXY environment variables on the Container App. Set HTTP_PROXY too if certificate chain checks must reach CA issuer addresses over HTTP. NO_PROXY should include your Postgres FQDN and any internal Azure endpoints you do not want proxied.
These variables do not apply to self-hosted secret managers. CertifyClouds always connects to a HashiCorp Vault, Infisical or HTTPS receiver address directly, so those targets need a direct route even when everything else goes through a proxy. See Self-hosted secret managers.
Self-hosted secret managers¶
To sync to HashiCorp Vault, Infisical or your own HTTPS receiver, CertifyClouds connects from its own subnet straight to the manager or receiver. On this page, "manager" covers a receiver too. As with the rest of this page, CertifyClouds does not create these network paths.
Route¶
The manager must be reachable from the CertifyClouds subnet by one of:
- An on-premises manager over VPN or ExpressRoute. Peer the CertifyClouds VNet with your hub, enable use of the remote gateway on the CertifyClouds side, and route the on-premises prefix to the hub gateway or firewall. The on-premises firewall must allow the CertifyClouds subnet to reach the manager's port.
- A manager in Azure. Peer the VNets, or reach it through Private Link.
A route that exists only through a proxy is not supported, and neither is a network with no route to the manager at all.
To allow the traffic in an NSG, add an outbound rule for the manager's address and port:
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <nsg-name> \
--name "Allow-SecretManager-Outbound" \
--priority 130 \
--direction Outbound \
--destination-address-prefixes <manager-address-or-cidr> \
--destination-port-ranges <manager-port> \
--access Allow --protocol Tcp
Allowed addresses: SYNC_PRIVATE_EGRESS_CIDRS¶
CertifyClouds connects to a self-hosted manager only at an address inside the networks you list in the SYNC_PRIVATE_EGRESS_CIDRS setting, public addresses included. It is a comma-separated list of CIDRs, empty by default, and an empty list means no self-hosted manager can be reached. It is set on the deployment, so an app admin cannot widen it.
Pass it to the installer:
deploy-certifyclouds-aci.sh takes the same option. The installer only sets the variable and never works the list out from your network.
Pass the option on every deploy. The installer does not keep the list from the running deployment, so a redeploy without it leaves the list empty and sync to a manager at a private address stops until you deploy again with it. Setting the SYNC_PRIVATE_EGRESS_CIDRS environment variable in the shell that runs the installer has the same effect as the option. On an existing Container App, you can set it as an environment variable:
az containerapp update --name <app> --resource-group <rg> \
--set-env-vars SYNC_PRIVATE_EGRESS_CIDRS="10.20.0.0/16,192.168.40.0/24"
A CIDR with host bits set, such as 10.1.2.3/8, or one that is not valid stops the application starting. Loopback, link-local (which includes the cloud metadata address), multicast, cloud metadata host names and the PostgreSQL host stay blocked even when a listed CIDR covers them.
Your own certificate authority¶
When the manager's certificate is signed by your own certificate authority, CertifyClouds checks it strictly. A CA certificate with no key identifiers (no Subject Key Identifier) is rejected, so the check and the sync fail with a message that starts "The server's certificate is not signed by the CA you supplied", even though the CA you pasted is the right one. Reissue the CA certificate with the Subject Key Identifier extension, reissue the manager's certificate from it so that it carries the matching Authority Key Identifier, and paste the new CA certificate into the configuration.
DNS for self-hosted managers¶
An on-premises hostname must resolve from inside the Container Apps environment. The usual way is an Azure DNS Private Resolver with an outbound endpoint and a forwarding ruleset linked to the CertifyClouds VNet, or custom DNS servers on the VNet. The installer does not configure DNS.
Proxies¶
CertifyClouds ignores HTTPS_PROXY, HTTP_PROXY, ALL_PROXY and NO_PROXY for these connections and connects straight to the manager.
Private AKS clusters¶
To read the workloads in a private AKS cluster (see Kubernetes workloads), CertifyClouds must reach the cluster's private API server address from its own VNet. As with the rest of this page, CertifyClouds does not create these network paths:
- Peering. Peer the VNet CertifyClouds runs in with the cluster's VNet, unless they are the same VNet. Across two Entra tenants, follow Microsoft's guide to peering VNets in different tenants.
- Private DNS. Link the cluster's private DNS zone to the CertifyClouds VNet, so the private address resolves. A cluster that publishes its private address in public DNS has no zone to link.
- Hub networks. If CertifyClouds reaches the cluster through a hub VNet with its own DNS servers, set up the route and the name resolution there instead.
A public cluster that limits its API server to authorised IP ranges must include CertifyClouds' outbound address.
The access scripts check this for you. Run with --with-kubernetes, they report for each private cluster whether the CertifyClouds VNet is peered with the cluster's VNet and linked to its private DNS zone, and print the az commands for anything missing. They never create a peering or a link. When a script cannot tell which VNet CertifyClouds runs in, which is always the case for an onboarded tenant because CertifyClouds runs in your home tenant, it lists the networks the cluster is peered and linked with and prints the commands with a placeholder for the CertifyClouds VNet. See Kubernetes discovery.
A cluster CertifyClouds cannot reach shows Cannot connect in the Kubernetes clusters panel on Assets → Dependencies → Resources.
Inbound: how users reach CertifyClouds¶
The deploy script creates the Container Apps Environment in internal-only mode by default, no public IP. Users reach the UI through one of several patterns; see Post-Install Reachability for the full breakdown.
For patterns that involve a reverse proxy inside your VNet (Application Gateway, an internal NVA, etc.), the CAE's NSG needs an inbound rule allowing 443/tcp from the proxy's subnet:
az network nsg rule create \
--resource-group <nsg-rg> \
--nsg-name <cae-nsg> \
--name "Allow-ReverseProxy-Inbound" \
--priority 100 \
--direction Inbound \
--source-address-prefixes <reverse-proxy-subnet-cidr> \
--destination-port-ranges 443 \
--access Allow --protocol Tcp
For Azure Front Door Premium with a Private Endpoint, the inbound flow is handled by the Private Endpoint itself, no NSG rule needed.
For VPN/ExpressRoute access, allow 443/tcp from your corporate IP ranges.
Optional inbound MCP access (ENTERPRISE)¶
Remote Claude and ChatGPT connectors run in the provider's cloud, not in the user's browser or local network. If you enable the MCP Connector, the existing CertifyClouds hostname must be publicly reachable over trusted HTTPS for these exact paths:
| Path | Purpose |
|---|---|
/.well-known/oauth-protected-resource | OAuth protected-resource metadata |
/.well-known/oauth-protected-resource/api/mcp | Path-aware metadata alias used by some clients |
/api/mcp | Authenticated Streamable HTTP transport |
Route all three paths to the existing CertifyClouds backend and preserve the Authorization, MCP-Protocol-Version, MCP-Session-Id, and Content-Type headers plus POST bodies. If Cloudflare Access or another browser-oriented gateway protects the deployment, exempt only these exact paths from its interactive sign-in. Do not create a broad /api/* bypass: CertifyClouds must still validate the customer Entra bearer token and policy on every MCP request.
Provider IP ranges and user agents can help diagnose edge blocks, but they can change and are not the primary authorisation boundary. See the MCP Connector guide for Entra setup, Cloudflare AI-bot troubleshooting, and the complete security model.
PostgreSQL subnet¶
The Postgres flexible server runs in its own delegated subnet (Microsoft.DBforPostgreSQL/flexibleServers). For normal operation it requires no outbound rules. If you enable customer-managed keys or geo-redundant backups, allow outbound to:
*.blob.core.windows.net(backup destination, covered by theStorageservice tag)login.microsoftonline.com(for CMK, covered byAzureActiveDirectory)
Diagnostic: is my egress working?¶
From any host inside the CAE VNet (jump VM, peered VNet, or az containerapp exec), run:
# Licence server reachable?
curl -sS -m 10 https://license.certifyclouds.com/health
# Expected: {"status":"ok",...}
# Microsoft Graph reachable?
curl -sS -m 10 -o /dev/null -w "%{http_code}\n" https://graph.microsoft.com/v1.0/
# Expected: 401 (auth challenge, proves connectivity)
# Microsoft Entra ID reachable?
curl -sS -m 10 -o /dev/null -w "%{http_code}\n" https://login.microsoftonline.com/common/.well-known/openid-configuration
# Expected: 200
# Self-hosted secret manager reachable, and its certificate trusted? (only if you sync to one)
# --noproxy because CertifyClouds connects to these directly. Use /v1/sys/health for Vault, /api/status for Infisical.
curl -sS -m 10 --noproxy '*' --cacert <ca.pem> -o /dev/null -w "%{http_code}\n" https://<manager-address>/api/status
# Expected: 200 (Vault answers 200 on /v1/sys/health when it is active and unsealed)
# For an HTTPS receiver, use its endpoint URL instead: any HTTP status proves the route and the certificate
# (the reference receiver answers 501 to this request, which is not a POST).
If license.certifyclouds.com does not respond, fix that first, the rest of the troubleshooting below assumes the licence server is reachable.
Symptoms when egress is blocked¶
| Symptom | Likely cause |
|---|---|
Container fails to start: ImagePullBackOff or ErrImagePull | Check access to your Azure Container Registry and its image. |
| App boots but the Licence section shows trial/expired | Licence server unreachable. The app keeps working from its cached licence during the grace period; once that ends, access is blocked until the licence server can be reached. |
| Activation fails on a fresh deploy | Licence server unreachable. Confirm with the curl test above. |
| Key Vault scans succeed but show 0 secrets | Key Vault data-plane egress blocked, or the Managed Identity lacks Key Vault Reader role. |
App Registration discovery or Rotation fails with Insufficient privileges or AADSTS50079 | Graph API blocked, login.microsoftonline.com blocked, or Graph admin consent not granted. |
| Key Vault scans time out | Key Vault or management.azure.com egress blocked. |
| Email alerts never arrive | SMTP host (e.g. smtp.sendgrid.net) not in the allowlist, or no provider configured in Settings → Advanced → Email. |
| PagerDuty incidents never open | events.pagerduty.com not in the allowlist. |
| Sync runs fail with provider connection or timeout errors | AWS (secretsmanager / acm / sts) or GCP (secretmanager / certificatemanager / oauth2, plus sts / iamcredentials for keyless sign-in) endpoints not in the allowlist. |
| Hosted AI client never reaches Entra sign-in | MCP metadata or transport paths are private, behind an interactive Access sign-in, or blocked by the edge's bot policy. |
Why the deploy script doesn't create NSG rules¶
Network policy belongs to your team, not to a third-party deploy script. Automated NSG changes during a vendor tool's deploy frequently violate change-control rules, and different organisations use different egress mechanisms (NSG service tags vs Azure Firewall vs corporate proxy vs forced UDR) that we cannot autodetect.
The list above is what to give your network team.