Previous Topic: Create the CA Certificate

Next Topic: Create the Client Certificate


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

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