Openssl, determining the immediate signing certificate

openssl

I'm having issues with setting up my certificate chain in Amazon ELB.

Error creating certificate Unable to validate certificate chain. The
certificate chain must start with the immediate signing certificate,
followed by any intermediaries in order. The index within the chain of
the invalid certificate is: -1

From my certificate, how do I determine the immediate signing certificate using openssl?

Best Answer

You have to get them from your certificate issuer. All of them provide intermediate certificates. Usually they are attached to email which came with certificate, or you can download them directly from their website.

Where did you buy your certifcate ?