Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Curl & SSl

Discussion in 'General Discussion' started by jeck, Aug 24, 2007.

  1. jeck

    jeck Member

    Joined:
    Mar 23, 2006
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    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...? :confused:

    Thank you!
     
    #1 jeck, Aug 24, 2007
    Last edited: Aug 24, 2007
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice