/
Kofax - TLS v1.2 Problem with Validation Scripts

Kofax - TLS v1.2 Problem with Validation Scripts

Applies to

Kofax Capture 11.x

Summary

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.

Answer/Solution

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" ?>

<configuration>

<!--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" />

</startup>

<runtime>

<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>

</runtime>

</configuration>

 

Related content

Kofax - How to Enable TLS 1.2 Encryption Cipher for Kofax Capture
Kofax - How to Enable TLS 1.2 Encryption Cipher for Kofax Capture
More like this
Kofax - GetServerDate Error When Launching Modules
Kofax - GetServerDate Error When Launching Modules
More like this
Kofax - TLS Support for KIC
Kofax - TLS Support for KIC
More like this
Kofax Unable to setup Text Export Connector
Kofax Unable to setup Text Export Connector
More like this
Kofax - Error Initializing Kofax Capture Importer Pool when starting PlugIn Service
Kofax - Error Initializing Kofax Capture Importer Pool when starting PlugIn Service
More like this
Kofax - DSN Contains a Mismatch Between the Driver and Application
Kofax - DSN Contains a Mismatch Between the Driver and Application
More like this

Copyright © CASO Document Management

All product names, logos, brands, and trademarks featured or referred to on this page are the property of their respective trademark holders. These trademark holders are not affiliated with, nor do they sponsor or endorse this website or the products/services offered unless explicitly stated otherwise.