Created
April 26, 2018 15:46
-
-
Save askldjd/ba287178a736b2865f0255aeba879601 to your computer and use it in GitHub Desktop.
How to break up certs into 64 char
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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