Previous Topic: Creating the CA Certificate

Next Topic: Creating the Client Certificate


Creating the Server Certificate

To create the server certificate

  1. Create a configuration file to use as input to the openssl utility. A sample file, serverssl.conf, was installed in the ssl subdirectory. Edit the [req_distinguished_name] section, changing the values to your specifications.

    Note: For UNIX, you must have root authority to perform this task.

  2. Using the script makeserver, issue the following command:
    ./makeserver
    

    The makeserver shell script uses the serverssl.conf file and the cassl.pem file to generate a server certificate and a key file. The server certificate, servercert.pem, is saved in the 'certs' subdirectory. The key file, generated as serverkey.pem, is saved in the 'private' subdirectory.

    To list the certificate just created, issue the following command to use the listserver script:

    ./listserver
    

    This shell script displays the server certificate and information stored in the package.