Skip to content

Instantly share code, notes, and snippets.

@hanut
Last active May 2, 2021 10:11
Show Gist options
  • Select an option

  • Save hanut/e1c46ca7e59a387772c9024bd5b3ec41 to your computer and use it in GitHub Desktop.

Select an option

Save hanut/e1c46ca7e59a387772c9024bd5b3ec41 to your computer and use it in GitHub Desktop.
Generate a .pem file from crt and key

Especially useful if you are using HAProxy for SSL termination ahead of your microservices.

Just use this command

sudo cat domain.tld.crt domain.tld.key | sudo tee domain.tld.pem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment