Installing libcrypto.so

For starting up DataLoad process correctly upon installation and for full SNMPv3 support, SNMP DataLoad must have access to the libcrypto.so.

About this task

Note: If you are running on a Linux platform, please start with step 3 onwards. The libcrypto.so file is delivered as standard on Linux platforms, hence step 1 and 2 are not required.

For each new and existing SNMP DataLoad, you must perform the following steps.

Procedure

  1. Install the OpenSSL package. This package can be downloaded from http://www.openssl.org/.
  2. As root, extract and install the libcrypto.so file by using the following code:
    # cd /usr/lib
    # ar -xv ./libcrypto.a
    # ln -s libcrypto.so.0.9.8 libcrypto.so
  3. Remove the existing link for libcrypto.so if any by using the following code:
    # cd /usr/lib
    # rm -rf libcrypto.so
  4. Create a link for libcrypto.so which links to libcrypto.so.0.9.8e using the following code:
    # cd /usr/lib
    # ln -s libcrypto.so.0.9.8e libcrypto.so
  5. Update the dataload.env file so that the LD_LIBRARY_PATH (on Solaris & Linux) or LIBPATH (on AIX) environment variables include the path:
    /usr/lib

What to do next

Check the variable is set by doing the following steps:

  1. Open a fresh shell.
  2. Verify that the environment variables are set correctly in dataload.env file.
  3. Source the dataload.env file.
  4. Bounce the SNMP DataLoad process.

Upon DataLoad process startup with a valid library, the collector logs the following log messages:

INFO:CRYPTOLIB_LOADED	Library 'libcrypto.so' (OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008, 0x90802f) 
has been loaded.
INFO:SNMPV3_SUPPORT_OK	Full SNMPv3 support Auth(None,MD5,SHA-1) x Priv(None,DES,AES) is available.