My two-way client certificates aren’t mutually authenticated
Configuring synthetics with client certificates can be challenging. In some cases, the synthetics agent runs as the user who installed it, while the web driver runs under the created user user_agent. When this happens, changes don’t have any impact on the browser.
To achieve mutual authentication with AppDynamics’ private synthetics agent, use the following two PowerShell scripts called from the actual Python code.
NOTE: This process has been tested with Chrome Browser.
Create a directory under the agent_user's directory, for example: C:\Users\agent_user\appd\)
Create a script that will switch to the agent_user and execute the certificate import script.
Create the script that will actually configure the certificate. In this example, the certificate has been added under currentUser and into the user’s personal store. Other options include localMachine and AuthStore.