z/OS Cryptographic Services PKI Services Guide and Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Steps for updating the exit routine code sample

z/OS Cryptographic Services PKI Services Guide and Reference
SA23-2286-00

To update the exit routine code sample, pkiexit.c, perform the following steps:
  1. Copy the sample exit routine and makefile to the current directory by entering the following commands:
    cp /usr/lpp/pkiserv/samples/pkiexit.c pkiexit.c
    cp /usr/lpp/pkiserv/samples/Makefile.pkiexit Makefile

    _______________________________________________________________

  2. Compile and link to produce the executable program, pkiexit, by entering the following command:
    make

    _______________________________________________________________

  3. Move the executable program to its execution directory and set the permissions by entering the following commands:
    mv pkiexit /full-directory-name
    chmod 755 /full-directory-name/pkiexit

    _______________________________________________________________

  4. Edit the PKI Services environment variables file by entering the following command:
    oedit /etc/pkiserv/pkiserv.envars
    and add the environment variable _PKISERV_EXIT by adding the following line to the file:
    _PKISERV_EXIT=/full-directory-name/pkiexit

    _______________________________________________________________

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014