Community Forums
Connect with us on LinkedIn
Community Notice
  
+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Member
    Join Date
    Mar 2006
    Posts
    6

    Default Curl & SSl

    Hi all,
    What is the path to reach the installed domain SSL Cert in the server and use it with an cUrl https request?

    ...
    curl_setopt ($ch, CURLOPT_SSLCERT, $key);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYHOST, 0);
    curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, 0);
    ...

    Think the path to the Cert (in $key) isn´t correct... tryed several things but I'm just being dummy...

    The script runs inside the /www folder... what is the path for $key...?

    Thank you!
    Last edited by jeck; 08-24-2007 at 03:16 PM.

Similar Threads & Tags
Similar threads

  1. Strange SSL & Curl problem
    By bobbybobbertson in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-17-2007, 11:23 PM
  2. curl-7.9.5-2.2.legacy conflicts with file from package curl-ssl-7.10.3-1'
    By jackie46 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-09-2005, 10:03 PM
  3. Replies: 4
    Last Post: 09-09-2005, 10:01 PM
  4. No --with-curl-ssl bug???
    By TeaParty in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 07-25-2003, 12:55 AM
  5. How to install Curl+ssl
    By paralard in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-30-2003, 11:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube