Hi,
I have a console application which connects to docuemntum (OpenText D2) system using DFS Dlls to run queries and get data. The application runs fine in our olders VMs (OS Win Server 2012 R2).
However the same application does not run on a recently created VM (OS Windows Server 2019). I am getting an error
"System.ServiceModel.Security.SecurityNegotiationException: Could not establish secure channel for SSL/TLS with authority '<documentum end point url>'. ---> System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel."
I have downloaded the certificate by opening the documentum end point url on browser and installed it on Trusted Root Store. I have also tried completely disabling the certificate from code like below.
ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(OnValidateCertificate);
ServicePointManager.Expect100Continue = true;
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls
| SecurityProtocolType.Tls11
| SecurityProtocolType.Tls12
| SecurityProtocolType.Ssl3;
Any idea what could be going wrong. Is it something at OS level that i need to check, because as I mentioned earlier the app is working in Server 2012 but not in Server 2019.
Please help!!
Br
Sagar