ForgeRock Identity Platform
ForgeRock Identity Cloud

Installing a Web Agent (All versions) fails with a no ssl/library support error

Last updated May 9, 2022

The purpose of this article is to provide assistance if you receive a "no ssl/library support" error when trying to install a Web Agent.

1 reader recommends this article


An error similar to one of the following is shown when installing the Web agent depending on your operating system:

  • On Unix®, Linux® and Solaris® systems: init_ssl(): is not available init_ssl(): is not available
  • On Microsoft® Windows® systems: init_ssl(): ssleay64.dll is not available (error: 126) init_ssl(): libeay64.dll is not available (error: 126) init_ssl(): ssleay32.dll is not available (error: 126) init_ssl(): libeay32.dll is not available (error: 126)

The corresponding install log shows the following error:

2017-08-31 11:27:09 am_agent_login(): error -26 (no ssl/library support) connecting to (

Recent Changes



The Web agent cannot load the SSL libraries. There can be various reasons for this, including:

  • You are trying to install a 32bit version of the agent on a 64bit system; the 32bit version of the agentadmin tool cannot open the 64bit SSL libraries.
  • The SSL libraries are not installed.

If your operating system does not include native openssl packages, you must install OpenSSL. See OpenSSL Requirements for further information on supported versions.


The solution depends on the cause as follows:

  • Ensure you are installing the appropriate version of the agent; if you have a 64bit operating system, you must install the 64bit agent.
  • Ensure either the operating system provides native openssl packages or OpenSSL is installed. If you are using OpenSSL, you can check that the OpenSSL libraries are in the correct location as follows and add them if they are missing:
    • On Linux systems:
      1. Check that the LD_LIBRARY_PATH environment variable is set. For example: $ echo $LD_LIBRARY_PATH
      2. Check that the OpenSSL libraries ( and are available in the path specified in this environment variable (LD_LIBRARY_PATH).
    • On Unix and Solaris systems:
      1. Check that either the LD_LIBRARY_PATH or LD_LIBRARY_PATH_64 environment variable (depending on whether you have a 32bit or 64bit system) is set. For example: $ echo $LD_LIBRARY_PATH $ echo $LD_LIBRARY_PATH_64
      2. Check that the OpenSSL libraries ( and are available in the path specified in the relevant environment variable (LD_LIBRARY_PATH or LD_LIBRARY_PATH_64).
    • On Microsoft Windows systems, check that the OpenSSL libraries are in the correct location as follows (depending on whether you have a 32bit or 64bit system):
      • 32bit systems - libeay32.dll and ssleay32.dll files are in the \windows\syswow64  directory.
      • 64bit systems - libeay64.dll and ssleay64.dll files are in the \windows\system32 directory.

Installing libssl on Linux

To install libssl on Linux, you can use one of the following commands depending on the distribution:

  • On Debian-based Linux (Ubuntu and so on):$ sudo apt install libssl-dev
  • On Red Hat-based Linux (Red Hat, Oracle and so on):$ sudo dnf install openssl-devel

See Also

Best practice for installing IIS Web Agents (All versions)

FAQ: SSL/TLS secured connections in AM and Agents

SSL in AM and Agents

Web Agent User Guide

OpenSSL: Libssl API

Related Training


Related Issue Tracker IDs


Copyright and Trademarks Copyright © 2022 ForgeRock, all rights reserved.