JHttpTransportCurl and ssl?

96 views
Skip to first unread message

Daniel D. / compojoom

unread,
Apr 27, 2012, 6:19:30 AM4/27/12
to joomla-de...@googlegroups.com
Hey guys!
Is there any way to use the JHttpTransportCurl with ssl?

Basically I need to set those options:
            curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
            curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
            curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, true);

But I can't seem to figure out how to do it? is this at all possible?

Regards,
Daniel

Ian

unread,
Apr 28, 2012, 9:21:56 AM4/28/12
to joomla-de...@googlegroups.com
It doesn't look like you can set those options, no.  It does work with SSL though - those classes were built while I was building the github API connector which requires SSL.  That does seem like a reasonable option to add though.

Ian
Reply all
Reply to author
Forward
0 new messages