Sun Java System Web Proxy Server 4.0.3 2006Q2 Administration Guide

Importing with pk12util

ProcedureTo import a certificate and key into an internal or external PKCS #11 module

Steps
  1. Go to the server_root/alias directory containing the databases.

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

  3. Locate pk12util in server_root/bin/proxy/admin/bin.

  4. 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.

  5. Enter the command: pk12util.

    The options will be listed.

  6. Perform the actions required.

    For example, in UNIX enter:

    pk12util -i pk12_sunspot [-d certdir][-h “nCipher”][-P https-jones.redplanet.com-jones-]

    -P must follow the -h and be the last argument.

    Enter the exact token name including capital letters and spaces between quotation marks.

  7. Enter the database password.

  8. Enter the pkcs12 password.