Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Using modutil to Install PKCS #11 Modules

You can install PKCS #11 modules in the form of .jar files or object files using the modutil tool.

ProcedureTo install PKCS #11 modules using modutil

Steps
  1. Make sure all servers, including the Administration Server, have been stopped.

  2. Go to the server_root/alias directory containing the databases.

  3. Add server_root/bin/proxy/admin/bin to your PATH.

  4. Locate modutil in server_root/bin/proxy/admin/bin.

  5. Set the environment. For example:

    • On UNIX: setenv

      LD_LIBRARY_PATH server_root/bin/proxy/lib:${LD_LIBRARY_PATH}

      • On Windows, add it to the PATH

        LD_LIBRARY_PATH server_root/bin/proxy/bin

        You can find the PATH for your computer listed under: server_root/proxy-admserv/start.

  6. Enter the command: modutil. The options will be listed.

  7. Perform the actions required.

    For example, to add the PKCS #11 module in UNIX, enter:

    modutil -add (name of PKCS#11 file) -libfile (your libfile for PKCS #11) -nocertdb -dbdir . (your db directory)