Symantec Access Management

 View Only

Tech Tip : CA Single Sign-On : Apache Web Agent error : Set CAPKIHOME environment variable

  • 1.  Tech Tip : CA Single Sign-On : Apache Web Agent error : Set CAPKIHOME environment variable

    Broadcom Employee
    Posted Nov 16, 2018 03:28 AM

    Issue:


    I'm starting Apache with Web Agent and this one returns the following

    error :

     

    [30/Oct/2018:19:32:17] [Information] SiteMinder Agent
    SiteMinder agent is enabled.

     

    [30/Oct/2018:19:32:17] [Information] SiteMinder Agent
    Configuration file path:
    '/etc/httpd/conf/WebAgent.conf'.

    Please check atleast one of the following conditions are met.

    *) Set CAPKIHOME environment variable.
    *) Pass valid second parameter to etpki_lib_init function. Ex: if
    the second parameter is /a/b/c/[lib]cryptocme2.[dll][so][sl], it is
    assumed that /a/b/c has all the required CAPKI shared libraries

     

    [30/Oct/2018:19:32:17] [Error] SiteMinder Agent

    Unable to load SiteMinder host configuration object or host configuration file.
    /opt/CA/webagent/config/SmHost.conf
    06 00 00 00

     

    [30/Oct/2018:19:32:17] [Warning] SiteMinder Agent
    SiteMinder agent has encountered initialization errors and will not service requests.

     

    How can I fix this ?

     

    Resolution:

     

    At first glance, by default the ca_wa_env.sh has the following values :

     

    NETE_WA_ROOT=/opt/CA/webagent
    export NETE_WA_ROOT
    NETE_WA_PATH=${NETE_WA_ROOT}/bin
    export NETE_WA_PATH

    CAPKIHOME=/opt/CA/webagent/CAPKI
    export CAPKIHOME

    LD_LIBRARY_PATH=${NETE_WA_ROOT}/bin:${NETE_WA_ROOT}/bin/thirdparty:${LD_LIBRARY_PATH}
    export LD_LIBRARY_PATH

    PATH=${NETE_WA_PATH}:${PATH}

     

    So you need to ensure that the script or service you run to start
    Apache has the environment variable CAPKIHOME set, and all the
    environment variable of the ca_wa_env.sh script set too.

     

     

    KB : KB000121289