iDRAC9 slow to logon through PSM
Symptom
Users may choose to use the Webform Connector to make their own connection to Dell iDrac9 as opposed to the ‘Trusted’ but ‘Unsupported’ Marketplace connector. In researching the issue they may discover the thread below:
Whilst the proposed webform settings work the connection is slow to establish the session. A direct connection from the PSM to the iDrac interface may typically load in 10-15 seconds whereas the connection through PSM may take noticeably longer, around 45-55 seconds.
The Webform settings from thread above are suggested as follows:
username>{Username}
cui-start-screen-password>(Click)
cui-start-screen-password>{Password}
cux-button>(Button)
This works but is slow and in the logs you may see the following:
PSMDU018E Dispatcher error: [WebElementWrapper :: WaitUntilElementIsNotVisible -> Failed moving to the next page. Element was not erased from the page. Exception Details: OpenQA.Selenium.WebDriverTimeoutException: Timed out after 20 seconds at OpenQA.Selenium.Support.UI.DefaultWait`1.ThrowTimeoutException(String exceptionMessage, Exception lastException) at OpenQA.Selenium.Support.UI.DefaultWait`1.Until[TResult](Func`2 condition) at CyberArk.WebAutomationUtils.WebElementWrapper.WaitUntilElementIsNotVisible(Int32 actionTimeout)]
Environment
10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7 Privileged Access Manager (PAM, self-hosted) PSM
PSM Connectors
Cause
If you inspect elements on the iDrac9 login page these may not align with the webform settings, in addition timings and CRL checks may also not be helping with performance.
Resolution
The following change to the logon sequence in the WebForm settings has been found to work much better:
username>{username} (searchby=name)
(wait=3)
password>(button)
password>{password} (searchby=name)
cux-button>(button) (searchby=class)
In addition, you may need to make changes to the times for CRL checks to help improve performance/responsiveness. This can be defined either by Local Security Policy (secpol.msc), GPO or by adding registry settings.
When configuring using Local Security Policy (secpol.msc -> Security Settings -> Public Key Policies) Open ‘Certificate Path Validation Settings’, click the ‘Network Retrieval’ tab and check ‘Define these policy settings’. For this test the defaults of ‘15’ and ‘20’ were both decreased to ‘1’ (second).
N.B. When the "Define these policy settings" box is unchecked, it does not disable the CRL check. It will set the value to default (15 seconds).
These same settings can be configured via GPO (gpedit.msc) and can be found in Computer Configuration\Windows Settings\Security Settings\Public Key Policies\Certificate Path Validation Settings\Network Retrieval check \Define these policy settings.
Location: HKLM\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config
Type: REG_DWORD
Name: ChainUrlRetrievalTimeoutMilliseconds
Value Data (Decimal): 1000
N.B. The value is defined in milliseconds.
If this value is set to 0 or if this value is undefined, the default value that is used is 15,000 milliseconds. Test was performed with value set to ‘1000’.
Location: HKLM\SOFTWARE\Microsoft\Cryptography\OID\EncodingType 0\CertDllCreateCertificateChainEngine\Config
Type: REG_DWORD
Name: ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds
Value Data (Decimal): 1000
You can also refer to the following article for reference: