How does the Reduce WinCertificate Wait Time step in PSM PostInstallationConfig.xml work?

How does the Reduce WinCertificate Wait Time step in PSM PostInstallationConfig.xml work?

106
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:05 PM


Question


How does the  Reduce WinCertificate Wait Time step in PSM PostInstallationConfig.xml work ?

Environment


11.3;11.4;11.5;11.6;11.7

Answer


When Reduce WinCertificate Wait Time is enabled in PSM Post-installation stage, it reduces the time that Windows waits for a Certificate Revocation List when connecting to a target using SSL to achieve better connection times from PSM to target machines.

You can set the [URLTimeout] and [PathValidationTimeout] parameters in InstallationAutomation\PostInstallation\PostInstallationConfig.XML .  The value is defined in seconds.

From the backend , Post-installation  calls ReduceWinCertificateWaitTime.psm1 to created below 2 records in registry

Name: ChainUrlRetrievalTimeoutMilliseconds
Function: This registry setting defines the default timeout for a single CRL retrieval
Location: HKLM\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config
Type: REG_DWORD
The value is defined in milliseconds.

Name: ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds
Function:This registry setting defines the cumulative timeout for all CRL retrievals
Location: HKLM\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config
Type: REG_DWORD
The value is defined in milliseconds.

These 2 registry keys are associated with GPO policy

Computer Configuration\Windows Settings\Security Settings\Public Key Policies\Certificate Path Validation Settings\Network Retrieval check \Define these policy settings. The value is defined in seconds 



1) If thes setting is never defined in GPO,  registry key ChainUrlRetrievalTimeoutMilliseconds and ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds  will take effect.

2) When "Define these policy settings" box is ticked in GPO , GPO settings will overwrite the registry key created by ReduceWinCertificateWaitTime.psm1

3) When "Define these policy settings" changed from ticked to unticked , it will remove all the registry settings created by ReduceWinCertificateWaitTime.psm1.

 In this case, Windows OS will apply the default settings.

The default value for ChainUrlRetrievalTimeoutMilliseconds is 15,000 milliseconds while the default value for ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds is 20,000 milliseconds

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001JbiCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail