'How to create combined pem file

I have below files

  • CertBody.pem
  • CertChain.pem
  • PrivateKey.key

How to create pem file from these, that has to be placed on AWS server for TLS authentication. Can anyone help? Suggesting solution without installation of any third party application is much preferable. Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source