Greetingz!
As those are all (typically) plain-text files, it should be easy to just open them up and take a look at why there different
Code:
cat certificate1
cat certificate2
IIRC, it has to do with the encoding style. Your second method incorporates the CA certificate.
NOTE: I wouldn't recommend posting anything here that has "RSA PRIVATE KEY" in it, you're supposed to make sure those are
never given out.