Okta Active Directory Agent Installation Fails With "An installation action failed. The installation will be cancelled."
Last Updated:
Overview
The Okta Active Directory (AD) Agent installation fails when the Windows server lacks the required DigiCert domain names in the port 80 allowlist. Add the required DigiCert domains to the network allowlist to resolve the installation failure. During the installation, Okta presents the following error message:
An installation action failed. The installation will be cancelled.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Directories
- Okta Active Directory (AD) Agent
Cause
The Windows server lacks the required DigiCert domain names in the allowlist on port 80. Clients fail to connect to Secure Sockets Layer (SSL) or Transport Layer Security (TLS) endpoints when they cannot reach a revocation server.
Solution
What steps confirm the certificate revocation validation block?
Run the provided PowerShell verification script to clear the local Certificate Revocation List (CRL) cache, extract the certificate from the installer, and perform a strict command-line CRL verification check.
NOTE: Update the path in the script to point to the actual directory where the AD Agent installer resides.
# 1. Clear the local CRL/URL cache
certutil -urlcache * delete
# 2. Extract and export the certificate from the installer to a temp file
# NOTE: Update the path below to point to the saved installer location
$installerPath = "C:\path\to\OktaADAgentSetup-3.23.0-959-83c27d6.msi"
$cert = (Get-AuthenticodeSignature -FilePath $installerPath).SignerCertificate
Export-Certificate -Cert $cert -FilePath "$env:TEMP\target_cert.cer"
# 3. Perform a strict command-line CRL verification check
Write-Host "certutil -verify started at $(Get-Date -Format 'HH:mm:ss.fff')"
certutil -verify -urlfetch "$env:TEMP\target_cert.cer"
Write-Host "certutil -verify completed at $(Get-Date -Format 'HH:mm:ss.fff')"
If the script outputs errors retrieving the validation URLs or hangs significantly during the verification step, CRL validation blocking causes the installation failure.
What resolves the installation failure?
Add the required DigiCert domains to the network allowlist on port 80 (HTTP) to resolve the validation block.
