This procedure makes the following assumptions:

  • The Apache configuration directory is /etc/apache2/conf.d
  • The Apache modules directory is /usr/lib64/apache2

For custom installations:

  • Modify the configuration and module paths below as needed.
  • Edit the included paa.conf file to modify the values for Apache’s configuration and module directories.
  1. Download and extract pingaccess-agent-apache<version>.zip.
  2. Go to the pingaccess-agent-apache<version> directory.
  3. If you are installing on SLES 12, import the gpg key.
    rpm --import https://download.opensuse.org/repositories/network:/messaging:/zeromq:/release-stable/SLE_12_SP4/repodata/repomd.xml.key
  4. Install the dependencies.
    zypper in ./x86_64/lib*.rpm
  5. As root, copy the PingAccess Agent for Apache files to the appropriate places.
     cp ./x86_64/mod_paa.so /usr/lib64/apache2
    cp paa.conf /etc/apache2/conf.d
    Note:
    By default, Apache on SLES will automatically include all .conf files contained within conf.d using the IncludeOptional directive. If this has been disabled, add the following to Apache’s httpd.conf.
     Include /etc/apache2/conf.d/paa.conf
  6. In the PingAccess console, go to Applications > Agents.
  7. Edit a configured agent.

    If the agent has not yet been created, see the PingAccess User Interface Reference Guide.

  8. In the shared secret, click the Download icon to download the configuration.

    The configuration file will be named <agentname>_agent.properties.

  9. Copy the <agentname>_agent.properties file to /etc/apache2/conf.d/agent.properties
  10. As root, restart the Apache service using one of the following commands:
    • rcapache2 restart
    • $APACHE_ROOT/bin/apachectl restart