Skip to content

Instantly share code, notes, and snippets.

@askldjd
Created April 26, 2018 15:46
Show Gist options
  • Save askldjd/ba287178a736b2865f0255aeba879601 to your computer and use it in GitHub Desktop.
Save askldjd/ba287178a736b2865f0255aeba879601 to your computer and use it in GitHub Desktop.
How to break up certs into 64 char
Say you have a test.pem file all in one line, how to make it into a proper pem file?
```
fold -w64 test.pem
```
add to the beginning and end of buffer
-----BEGIN CERTIFICATE-----
-----END CERTIFICATE-----
profit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment