Since I keep forgetting how to do this, I will just post it here. To create a .pem file you need to cat the following files after echother:

  1. Your own key
  2. Your own certificate
  3. Intermediate certificate
  4. [… more intermediates… depends on your certificate vendor…]
  5. Root certificate. Not really needed actually

So for me this would be something like:

cat www_roedie_nl.key www_roedie_nl.crt COMODORSADomainValidationSecureServerCA.crt√ā¬†COMODORSAAddTrustCA.crt AddTrustExternalCARoot.crt > www_roedie_nl.pem

You can leave out the key if you want to load it separately. But I like to have it in one big file.

Posted in Uncategorized

2 thoughts on “Create a certificate chain file (.pem)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.