Automating IIS certificates behind a load balancer

Automate certificate lifecycle management across load-balanced IIS servers without manually copying certificates between nodes.

In this scenario, a load balancer operates in TLS pass-through mode and forwards encrypted connections to one of two IIS servers. Each IIS server terminates TLS locally and maintains its own certificate and private key for the same site hostname. DigiCert Trust Lifecycle Manager (TLM) and a DigiCert Agent on each IIS server automate those certificate lifecycles independently while giving administrators centralized visibility and policy control.

Technical architecture

End-user TLS remains encrypted through the load balancer. The load balancer does not terminate TLS in this configuration, instead, it forwards the encrypted connection to WEB01 or WEB02. Each backend must present a valid certificate for the site hostname. Furthermore, the DigiCert Agent on each IIS server initiates outbound HTTPS connectivity to DigiCert Trust Lifecycle Manager for certificate automation.

ACME IIS and Load Balancer.png

Typical architecture shown for evaluation purposes. Exact load-balancer behavior, health checks, DNS validation design, certificate type, supported Windows/IIS versions, and network controls vary by environment.

Why this scenario matters

Load-balanced IIS environments introduce an important requirement. Whichever backend receives the TLS connection must be ready to serve the site securely. With TLS pass-through, the load balancer is not the certificate endpoint. WEB01 and WEB02 each terminate TLS, so each server needs a valid certificate that covers the same public hostname.

The certificates do not need matching thumbprints. In this architecture, each server has its own certificate and private key, so different serial numbers and thumbprints are expected. What matters is consistent hostname coverage, trusted certificates, aligned cryptographic policy, and timely renewal across every backend.

How DigiCert fits

Agent on each IIS server

Install a DigiCert Agent on WEB01 and WEB02. Each Agent manages the certificate lifecycle for its local IIS endpoint and initiates outbound HTTPS connectivity to DigiCert TLM.

Separate certificates, same hostname

WEB01 and WEB02 each receive a certificate covering the same site hostname. Different thumbprints are normal because the certificates and private keys are separate.

Consistent policy across endpoints

use certificate automation profiles to apply the same CA, algorithm, certificate fields, and renewal settings across both servers while maintaining independent endpoint certificates.

Centralized lifecycle visibility

Trust Lifecycle Manager centralizes inventory and automation-event status so teams can see whether both backends are healthy and up to date.

At a glance

Certificate strategy for this scenario

Technical implementation details

Install a DigiCert Agent on each supported Windows Server running IIS. Each Agent coordinates certificate enrollment for its local endpoints, then downloads and installs the resulting certificates on that server. The two DigiCert Agents operate independently, even though both servers serve the same public hostname.

Use the same certificate automation profile, so both servers follow a consistent CA, algorithm, certificate fields, and renewal policy. A profile can be applied across multiple systems while still allowing each endpoint to receive its own certificate. This avoids deploying one identical certificate and shared private key pairs with every node.

For domain control validation, DNS-01 is generally the best fit because validation occurs through DNS rather than through the load balancer and a selected backend. HTTP-01 is also possible, but only when port 80 is publicly reachable, a supported third-party ACME client is used, and load-balancer challenge routing ensures the correct validation token can be retrieved.

Before deployment, verify currently supported Windows/IIS versions, DigiCert Agent privileges, outbound endpoint allowlists, proxy options, DNS integration requirements, and load-balancer health-check behavior in current DigiCert and vendor documentation. If a load balancer health check validates backend certificate identity or thumbprints, design it so independent certificate renewals do not incorrectly mark healthy servers as unavailable.

Technical resources

Frequently asked questions

Do WEB01 and WEB02 need the same certificate thumbprint?
No, in this scenario each IIS server has its own certificate and private key for the same hostname, so different certificate serial numbers and thumbprints are expected. Both certificates must be valid, trusted, and cover the hostname in the user's request.
Does the load balancer need a TLS certificate?
Not for the pass-through function shown here because it does not terminate the client's TLS session. If your load balancer also exposes an HTTPS management interface, performs TLS termination elsewhere, or uses TLS-aware health checks, those functions may have separate certificate requirements which DigiCert can help manage.
Why use a DigiCert Agent on each IIS server?
Each IIS server is a separate certificate endpoint. The DigiCert Agent installed on that server performs the local certificate lifecycle operations for supported IIS environments and initiates its own outbound management connection to DigiCert Trust Lifecycle Manager.
Is DNS-01 required?
DNS-01 is recommended for this load-balanced deployment architecture because it avoids dependence on which backend receives an HTTP validation request. HTTP-01 can work when public port 80 access and deterministic challenge routing are deliberately configured with a third-party ACME client.
What happens if only one server renews successfully?
The site may continue to work for requests routed to the healthy node while the other node approaches expiration or begins serving an invalid certificate. Centralized inventory, automation-event status, and alerting help administrators identify and remediate that partial-deployment condition before it becomes an outage.
Can both IIS servers use the same automation profile?
Yes, where both endpoints should follow the same certificate policy. DigiCert certificate automation profiles define the issuing CA, enrollment method, key algorithm, certificate fields, and renewal behavior and can be used across multiple systems. Each server can still receive and manage its own certificate.
Does TLM copy certificates from one IIS server to the other?
Not in this selected architecture. Each server is managed as its own endpoint and receives its own certificate through its local Agent. This avoids manual PFX export/import workflows and intentionally avoids sharing one private key across both backend servers.

Ready to evaluate your environment?

See how DigiCert Trust Lifecycle Manager can support certificate lifecycle automation across your enterprise.

Explore DigiCert Trust Lifecycle Manager Talk to DigiCert