Solved

Signing SSL certs to work with remote API's

Posted on 2007-03-23
3
262 Views
Last Modified: 2010-03-04
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.
0
Comment
Question by:thunder99
  • 2
3 Comments
 
LVL 61

Accepted Solution

by:
gheist earned 125 total points
ID: 18784545
"ssl_key" => "signed.pem"
0
 

Author Comment

by:thunder99
ID: 18791584
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.
0
 
LVL 61

Expert Comment

by:gheist
ID: 18793351
cert should be signed
key should not...


i.e
"ssl_key" => "client.crt"

"ssl_cert" => "signed.pem"
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As Wikipedia explains 'robots.txt' as -- the robot exclusion standard, also known as the Robots Exclusion Protocol or robots.txt protocol, is a convention to prevent cooperating web spiders and other web robots from accessing all or part of a websit…
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now