Use the Tosca Distribution Agent with HTTPS
You can set up a HTTPS connection between the Tosca Distribution Agent and the Tosca Distribution Server.
To do so, follow the steps below:
-
Make sure you have installed the Tricentis Tosca Server with HTTPS enabled.
-
Open the ToscaDistributionAgent.exe.config file. This file is located at %TRICENTIS_DEX_AGENT_HOME%.
-
In the system.ServiceModel section, perform the following actions:
-
Change the security mode to Transport.
-
Change the endpoint address to https.
-
<system.serviceModel>
<bindings>
<basicHttpBinding>
<binding name="BasicHttpBinding_ICommunicationService" sendTimeout="Infinite" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxReceivedMessageSize="2147483647">
<readerQuotas maxDepth="2147483647" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="2147483647" maxNameTableCharCount="2147483647"></readerQuotas>
<security mode="Transport"></security>
</binding>
</basicHttpBinding>
</bindings>
<client>
<endpoint address="https://localhost/DistributionServerService/CommunicationService.svc"
binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ICommunicationService"
contract="CommunicationServiceReference.ICommunicationService"
name="BasicHttpBinding_ICommunicationService" />
</client>
</system.serviceModel>
-
If you are using a self-signed certificate, enter the following code within the Configuration tags:
<system.net>
<settings>
<servicePointManager checkCertificateName="false" checkCertificateRevocationList="false" />
</settings>
</system.net>
-
Start the Tosca Distribution Agent.