Double quotes in bash will solve the issue where it fails to echo the cert successfully.
Will fix this issue.
With and without quotes:
[mihai@blueberry prepare-signing]$ b="1 line
> 2nd line"
[mihai@blueberry prepare-signing]$ echo $b
1 line 2nd line
[mihai@blueberry prepare-signing]$ echo "$b"
1 line
2nd line
[mihai@blueberry prepare-signing]$
Double quotes in bash will solve the issue where it fails to echo the cert successfully. Will fix this issue.
With and without quotes: