Novell Home

My Favorites

Close

Please to see your favorites.

How to create a .pem File for SSL Certificate Installations

This document (7013103) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server

Resolution

How to create a PEM file (includes both the private passwordless key, server certificate, and any intermediate certs if required):

  • Private Key
  • Server Certificate (crt, puplic key)
  • (optional) Intermediate CA and/or bundles if signed by a 3rd party
  1. Download certs.tgz
  2. Unpackage the download: tar xzf certs.tgz
  3. Run certs.sh: ./certs.sh
  4. Select Option 3 - Create PEM
  5. Provide the full path to the certificate files.
  6. Provide the filenames of the following:
    • private key
    • public key (server crt)
    • (conditional) password for private key
    • (conditional) any intermediate certificate chain file(s)

Additional Information

How to manually create a .pem file:
  1. Remove the password from the Private Key by following the steps listed below:
    • Type openssl rsa -in server.key -out nopassword.key and press Enter.
    • Enter the pass phrase of the Private Key. 
  2. Combine the Certificate and Passwordless private key file to create a pem file by following the steps listed below:
    • Type cat nopassword.key > server.pem and press Enter.
    • Type cat server.crt >> server.pem and press Enter.


The following details the structure of a .pem file:

-----BEGIN RSA PRIVATE KEY----- 
(Your Private Key: your_domain_name.key) 
-----END RSA PRIVATE KEY-----

-----BEGIN CERTIFICATE----- 
(Your Primary SSL certificate: your_domain_name.crt) 
-----END CERTIFICATE----- 

-----BEGIN CERTIFICATE----- 
(Your Intermediate certificate: certChainCA.crt) 
-----END CERTIFICATE-----

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7013103
  • Creation Date:26-AUG-13
  • Modified Date:19-MAR-14
    • NovellData Synchronizer
      GroupWise
      Messenger
      Vibe

Did this document solve your problem? Provide Feedback