Signing SSL certs to work with remote API's

I have a scripts that connects to API via https. In the script config section it asks me for:

    "ssl_connection" => true,
    "ssl_strong_verify" => true,
    "ssl_cert" => "./client.crt",
    "ssl_cacert" => "./CA.pem",

I've sent my request.pem to the API provider and got a signed cert back (signed.pem), but I'm a bit lost as to what I need to do next. I guess I need to somehow sign client.crt with my key and signed.pem and then export it for the script.

I found a couple of tutorials on how to self-sign certs, but can't find anything on how to sign a 3rd party cert.

Can anyone point me to a decent tutorial?

I'm using Openssl  0.9.8e BTW.
Who is Participating?
gheistConnect With a Mentor Commented:
"ssl_key" => "signed.pem"
thunder99Author Commented:
Great, thanks for that gheist. Now I get a 'unable to set private key file', but I think the key may be wrong, so I'll get the cert resigned and try it.

Thanks again.
cert should be signed
key should not...

"ssl_key" => "client.crt"

"ssl_cert" => "signed.pem"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.