Skip to main content

I have a workflow (K2 Five 5.3 with FixPack 03).  I have an application where user can start a K2 workflow).  After applying the Fix Pack, I see this error

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

We verify that K2 server allows TLS1.2

Here is my code

 

var URL = "https://s....";

HttpWebRequest request = WebRequest.Create(URL) as HttpWebRequest;

ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtocolType.Tls | (SecurityProtocolType)768 | (SecurityProtocolType)3072;
ServicePointManager.Expect100Continue = true;
ServicePointManager.DefaultConnectionLimit = 9999;
// get response
var response = request.GetResponse();

....

Thanks in advance.

Usually when I see a connection problem like this and it leads to possible problems with regard to TLS, the first thing I check is if the .NET Framework 4.8 and its latest updates are on the servers.



And then also if the registry settings are as per the Minimum Requirement paragraph of the "K2 and TLS 1.2 Support" article.



 


There is issue with the cert. We updated the cert. Our problem is fixed.
Thank you,

Reply