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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Curl & SSl

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

  1. jeck

    jeck Member

    Mar 23, 2006
    Likes Received:
    Trophy Points:
    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

Share This Page