Hello,
As part of a security requirement for using Octopus Deploy, we are going with the Polling option for our tentacles and are restricting network communication between the Tentacles and Octopus to 443 (Configured Binding) and the default port for tasks (10943).
The issue is that on our Octopus Server, we have disabled support for non-PCI complient protocols (TLS 1.0 included), whenever I attempt to validate my credentials it fails with the error you might expect, socket connection error:
System.Exception: Unable to connect to the Octopus Deploy server. See the inner exception for details. —> System.Net.WebException: The underlying connection was closed: An unexpected error occurred on a send. —> System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host. —> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
I can connect to the Octopus Deploy website from these client machines (via telnet on 443 + IE), it’s not a firewall issue. If I remove the TLS enforced TLS restriction on my Octopus server and reboot, it’s able to register and validate itself fine.
When I inspect the network traffic, I see the Tentacle send the
Client Hello: Version: TLS 1.0
Cipher Suites: TLS_DHE_DSS…, (OMMITED, there’s a bunch)
From my readings, the newer version of Octopus/Tentacles are suppose to support TLS 1.1,1.2 with .NET 4.5 – as far as I can tell, the servers I’m working from have .NET 4.5 installed (default with Server 2012r2?)
Is there a known issue specifically with Tentacle setup and it’s inability to do credential validation over TLS 1.2?
Is there any way I can force a specific TLS version while doing the setup?
I can provide further details if needed.
I used Tentacle MSI version: Octopus.Tentacle.3.2.22-x64.msi
Operating System: Microsoft Windows Server 2012 r2
Connecting to Octopus Server version: 3.3.2
Ref:
Thanks!
*Edit: corrected Octopus server version