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(): libssl.so is not available init_ssl(): libcrypto.so 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 https://host1.example.com:8443/openam (https://host1.example.com:8443/openam)
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 Release Notes › 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:
- Check that the LD_LIBRARY_PATH environment variable is set. For example: $ echo $LD_LIBRARY_PATH
- Check that the OpenSSL libraries (libcrypto.so and libssl.so) are available in the path specified in this environment variable (LD_LIBRARY_PATH).
- On Unix and Solaris systems:
- 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
- Check that the OpenSSL libraries (libcrypto.so and libssl.so) 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.
- On Linux systems:
Related Issue Tracker IDs