Proxied Environments
If your Secret Server has outbound access through a proxy, its web.config must be modified to specify the proxy configuration.
If Secret Server is also clustered and has multiple worker roles enabled, the web.config must be updated for each Secret Server in the cluster.
See Microsoft documentation for more information.
The other option in a clustered environment is to specify a remote site for the data upload, and upload data through a Distributed Engine. If the distributed engine's host server is also behind a proxy, however, the engine's Thycotic.DistributedEngine.Service.exe.config must be modified similarly to the web.config in order to specify the proxy settings.
For Secret Server v10.4 or later, the web-proxy.config can be uncommented and updated to specify the proxy settings.
For Secret Server v10.3.000015 or earlier, you must add proxy-related XML to the web.config file immediately following the file's closing \</configSections\> tag, as depicted here:
</configsections>
<system.net>
<defaultProxy enabled="true" usedefaultcredentials="true">
<proxy usesystemdefault="false" proxyaddress="https://proxy:port" bypassonlocal="true"/>
</defaultProxy>
</system.net>
<configuration type="thycotic.foundation.configuration, thycotic.foundation">
Using Webnode with Proxied Environments
If using a webnode you will need to add the following code:
<system.net>
<defaultProxy configSource="web-proxy.config" />
</system.net>
DE Configuration
When Secret Server and distributed engines are behind a proxy, certain settings need to be added to web nodes and DEs if they exist in the environment.
To use the Distributed Engine through a proxy on DE versions older than 8.4.29.0, add proxy info to Thycotic.DistributedEngine.Service.exe.config, located in the C:\Program Files\Delinea\Distributed Engine\ folder. Insert the code between </system.serviceModel> and </configuration>. You may need to refer to the article below for other proxy-related settings.
<system.net>
<defaultProxy>
<proxy usesystemdefault="true" />
</defaultProxy>
</system.net>
You will need to restart the DE service afterwards and the setting will need to be reapplied after any Distributed Engine upgrade.
Webnode Configuration
Main Proxy settings for DE versions 8.4.29.0 and newer, are stored in the web-proxy.config file in the Secret Server folder on each webnode. Microsoft's article on Proxy configuration explains all settings.
A few examples below:
Example #1
<?xml version="1.0" encoding="utf-8" ?>
<defaultProxy enabled="true">
<proxy
usesystemdefault="true"
proxyaddress="http://192.168.1.1:8080"
bypassonlocal="true"
/>
</defaultProxy>
Example #2
<defaultProxy enabled="true">
<proxy proxyaddress—"http://proxy.domain.com:80" bypassonlocal-"true" / >
</defaultProxy>
Now the following files need to be edited to point to the web-proxy.config file.
-
web-embeddedRole-backgroundScheduler.config -
web-embeddedRole-backgroundWorker.config -
web-embeddedRole-engineWorker.config -
web-embeddedRole-messageBroker.config -
web-embeddedRole-sessionRecordingWorker.config
The code used in these files can be as follows:
<system.net>
<defaultProxy configSource="web-proxy.config" />
</system.net>
Placement of this setting may affect connection. Successful operation has been confirmed when the code is placed before the <runtime> section.
Troubleshooting Tips
Distributed Engines
Check the SSDE.log file.
Example:
Webnodes
Check the SS-BWSR.log file
Example:
Check to see if the machine can pull up the IP/URL in the logs in web browsers. While these do not specifically show full communication between systems, they can help narrow down the issue.
Example #1:
Example #2: