the Accepted format is
Code:
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
Exactly 5 hyphens (or dashes) with no whitespace.
so, adjust below
"-----END CERTIFICATE-----
<cr>-----BEGIN CERTIFICATE-----"
to match accepted format.
I don't believe whitespace matters in between each stanza.
So, what berndbausch suggests is accurate,
but
Code:
cat file1 file2 > newfile
works also