How do I generate a SSL Certificate for C2Net Stronghold ?

You can create a Certificate Signing request in C2Net Stronghold with either a GUI (graphical user interface) or Command Line access.

Please select which instructions you require:

C2Net Stronghold GUI Certificate Signing Request Generation

    1. Enter the Stronghold Configuration Manager.
    2. Select New Key Generation to create a new key file.
    3. Enter key size (2048 bits) and follow instructions for generating the random data.
    4. When creating a CSR you must follow these conventions.

The following characters cannot be accepted: < > ~ ! @ # $ % ^ * / \ ( ) ?. &

  1. The key pair will be generated and saved in the file: strongholdserverroot/private/hostname.key.
  2. Edit this file to extract the CSR data to send to us. This is the text beginning with “-----BEGIN NEW CERTIFICATE REQUEST-----” up to and including the text “-----END NEW CERTIFICATE REQUEST-----”.
  3. You should now have a CSR, which you can use to request an SSL certificate.

C2Net Stronghold Command Line Certfiicate Signing Request Generation

  1. Certificates and keys are managed with three scripts in Stronghold: genkey, getca and genreq. They are typically stored in /usr/local/ssl/private/.
  2. If you do not already have a key for your server, at the prompt, run genkey and the name of the host for which you are generating the CSR (i.e. ‘genkey yourserver’). This will show two filenames – the key file and CSR file – and display their respective locations.
  3. If you do already have a key for your server, at the prompt, run genreq, not genkey, to create the CSR only.
  4. The script will prompt you to be certain you aren't overwriting a previous certificate request and key.
  5. You will be prompted for the key size in bits – use the highest available (2048).
  6. When prompted, hit keys randomly. When the script beeps and the counter shows zero, stop. (This random data is used to create a unique public and private key pair.)
  7. When asked, enter ‘y’ to proceed. You will be prompted for specific information about your company, your server and your Certified Authority. (For your CA, select the option ‘Other&8217;.)
  8. The genkey script will create the CSR automatically. It is highly recommended that you back up your key file and CSR and keep them some place secure. The key is required to install your certificate.
  9. Copy the entire contents of the CSR, including;