Skip to main content

TLS v1.2 problem with validation scripts

Article # 3048624 - Page views: 191


We use Kofax Capture Validation module in several batch classes, which are provided with validation scripts developed in VB.NET and perform data validation and data completion tasks.The scripts communicate with a web service. Due changed security requirements for application servers where now only TLS v1.2 is allowed, no older protocols, our validation scripts cannot communicate with the server with error:
Could not establish secure channel for SSL/TLS with authority 'webserviceserver:470'

What can we do to ensure that the DLLs containing the validation scripts also use TLS v1.2? The scripts have been compiled to a .NET version that already supports TLS v1.2.


Please create a file Index.exe.config with content provided bellow. Please put it then on machine where you run Validation module into KC\bin folder, re-open Validation module.

<?xml version="1.0" encoding="utf-8" ?>
<!--These settings allows customizations created with .NET 2.0, 3.0 and 3.5 continue working after upgrade to 10.1 -->
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
<supportedRuntime version="v3.5" />
<supportedRuntime version="v3.0" />
<supportedRuntime version="v2.0.50727" />
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>

Level of Complexity 



Applies to  

Product Version Build Environment Hardware
Kofax Capture 11.x      



Article # 3048624
  • Was this article helpful?