Configure OpenSSL on Linux

For the Simulator to access the OpenSSL shared library, follow these steps:

  • Set up the LD_LIBRARY_PATH environment variable to refer to the directory containing the OpenSSL shared library delivered with the Java Card development Kit Simulator.
    export LD_LIBRARY_PATH=$JC_HOME_SIMULATOR/runtime/bin
  • Optionally, use the legacy provider (legacy.so) for "weak SSL ciphers" (like "single DES"), by setting up the OPENSSL_MODULES environment variable:
    export OPENSSL_MODULES=$JC_HOME_SIMULATOR/runtime/bin