Sun Java System Access Manager 7 2005Q4 Developer's Guide

ProcedureTo Configure SSL for Java API Samples

  1. In the Makefile, add this JVM property in the run target:

    -D "java.protocol.handler.pkgs=com.iplanet.services.comm"

  2. Copy AMConfig.properties from Config_Directory in the Access Manager server installation to the client machine.

  3. Edit the following properties in AMConfig.properties.

    com.iplanet.am.admin.cli.certdb.dir: Enter the path to the certificate database directory.

    com.iplanet.am.admin.cli.certdb.prefix: Enter the certificate database prefix.

  4. In the LDAP and JCDI Samples only:

    com.iplanet.am.server.protocol: Change the value to HTTPS.

    com.iplanet.am.server.port: Enter the appropriate port number from the server machine.

  5. Create or copy the certificate database file to the certificate db directory. Use the directory name in com.iplanet.am.admin.cli.certdb.dir.

  6. Rename the file to use the prefix specified in the property com.iplanet.am.admin.cli.certdb.prefix.

    For the details, see the Javadoc for the Remote Client API.