Skip to main content
Kofax

Kapplets: "Failed to authenticate using provided credentials"

Article # 3035292 - Page views: 238

Issue

When login to Kapplets the following error appears: "Failed to authenticate using provided credentials". 

Kapplet log indicated below error when trying to login:

Caused by: org.springframework.web.client.ResourceAccessException: I/O error on GET request for "https://<Servername>:<port>/ManagementConsole/remote/secure/users": sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target; nested exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at ...

Cause

Customer implemented SSL for Tomcat, but not in Java security.

 

Solution

Add the certificate to Java security cacerts and keystore (Java_Home\Lib\security). Example commands:

  1. cd "C:\Program Files\Java\jre1.8.0_xxx\bin"
  2. keytool -exportcert -keystore "<p12/pfx file>" -storepass <privatekey of p12/pfx> -storetype PKCS12 -alias <domain of cert e.g. RPA.Kofax.com> -file "outputcert.cer"
  3. keytool -importcert -file "outputcert.cer" -keystore "C:\Program Files\Java\jre1.8.0_xxx\lib\security\cacerts" -alias "kapplets" -storepass <password>
  4. keytool -importcert -file "outputcert.cer" -keystore "C:\Program Files\Java\jre1.8.0_xxx\lib\security\keystore.jks" -alias "kapplets" -storepass <password>

 

Level of Complexity 

Moderate

 

Applies to  

Product Version Build Environment Hardware
RPA 11.0+      

 

Article # 3035292
  • Was this article helpful?