-
-
Save un4ckn0wl3z/07b7405e2a0c43df1e7983c96ad60a92 to your computer and use it in GitHub Desktop.
Convert Certificates ( .pem, / .crt / etc ) into single-line strings for JSON payloads
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
awk 'NF {sub(/\r/, ""); printf "%s\\n",$0;}' cert-name.pem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment