Stronghold keys and certificates are managed through three scripts: genkey, getca and genreq. These are part of the normal Stronghold distribution. Keys and certificates are stored in the directory$SSLTOP/private/, where SSLTOP is typically /usr/local/ssl. To generate a key pair and CSR for your server:
1.Run genkey, specifying the name of the host or virtual host: genkey hostname. The genkey script displays the filenames and locations of the key file and CSR file it will generate:
Note: If you already have a key for your server, run genreq [servername] to generate only the CSR.
2.Press Enter. The genkey script reminds you to be sure you are not overwriting an existing key pair and certificate.
3.When prompted, enter a key size in bits. We recommend using the largest key size available: 1024 bits.
4.When prompted, enter random key strokes. Stop when the counter reaches zero and genkey beeps. This random data to create a unique public and private key pair.
5.When prompted, enter and to create the key pair and CSR.
6.Select ipsCA as your CA.
7.Enter all of the information requested and press Enter. Back up your key file and CSR on a floppy disk and store the disk in a secure location. If you lose your private key or forget the password, you will not be able to install your Secure Server ID and will need to request and purchase a new one from VeriSign.
8.You have just created a key pair and a CSR. To copy and paste the information into the enrollment form, open the file in a text editor that does not add extra characters (Notepad or Vi are recommended).
9.Go to Enrollment.
SSL CERTIFICATE INSTALLATION ON STRONGHOLD
1. Paste the conents into the file "ssl/certs/intermediate-ca.cert" located in your ServerRoot directory.
2. Change the SSLCACertificateFile directive in your httpd.conf file to this: SSLCACertificateFile certs/intermediate-ca.cert
ipsCA will email you your certificate. Please, rename the file to .cer.
1. Run getca and specify both the name of the server that owns the ID and the name of the temporary certificate file. For example:
# getca hostname /tmp/<temp-file-name>
2. This saves the Secure Site Server ID to the file SSLTOP/certs/hostname.cert Remove the temporary file. For example: