ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Webfort Sample application(ca-strongauth-sample-application) with SSL can't find CA certificate

book

Article ID: 196398

calendar_today

Updated On:

Products

CA Advanced Authentication - Strong Authentication (AuthMinder / WebFort) CA Strong Authentication CA Risk Authentication CA Advanced Authentication

Issue/Introduction

I am getting the following error and I have checked ARCOT_HOME environment variable which does exist. The only difference is this is 9.1 SP1 version. 

2020-07-24 12:17:03,952 [WebContainer : 2] INFO  AuthAPICommunication,(WebContainer : 2:39) - Attempting to initialize Authentication SDK.
2020-07-24 12:17:03,956 [WebContainer : 2] WARN  PooledTCPTransport,(WebContainer : 2:34) - Initialization failed
com.arcot.webfort.common.pool.exception.ConfigurationException: Server CA certificate is not found
        at com.arcot.webfort.common.pool.socket.SSLConfigUtil.getSSLSocketFactory(SSLConfigUtil.java:41) ~[arcot-webfort-common.jar:8.2]

Any idea how to verify?


Cause

ARCOT_HOME environment variable is not set.

Environment

Release : 9.1

Component : AuthMinder(Arcot WebFort)

Resolution

This issue happens if the ARCOT_HOME environment variable is not set, make sure that the ARCOT_HOME is set on the machine where Sample app is deployed. The certificates are placed one level up in ARCOT_HOME directory in Linux and has the following format-

-rw-r-----.  1 arcotuser arcotuser       2410 Jul 24 14:03 AdvAuth\server.p12
-rw-r-----.  1 arcotuser arcotuser       1017 Jul 24 14:03 AdvAuth\cacert.pem

It is also important to check if the User starting the Application server has access to write in directory one level up to the ARCOT_HOME.

Note -> Currently Sample app only 2-way SSL and not 1-way SSL.