Hi,
install http://stunnel.org/ in localhost:9999 and redirect it to
remote_host:443 with stunnel ;)
now you can talk "simple" http to localhost:9999 and let stunnel do the
dirty work.
Hope this helps,
Nuno Silva
phpman wrote:
> I've been working with curl as well. It allows a pretty easy method to
> access https, however it is
> limited as far as encrypting data and sending to an https server. So now i'm
> experimenting with
> snoopy to simulate a web client. I'm trying to link up with UPS online
> tools, but the sob's only
> know java. I've posted to this news group with questions pertaining to this
> stuff, but nobody
> seems to understand what I'm talking about. There has to something out
> there, as I'm sure
> somebody has to have done this before.
>
> -dave
>
>
> ""Tolga "thorr" Orhon"" <[EMAIL PROTECTED]> wrote in message
> 9e3no5$hld$[EMAIL PROTECTED]">news:9e3no5$hld$[EMAIL PROTECTED]...
>
>>As far as I know you cant do that with standard socket connection as SSL
>>needs more than that. One solution that I am currently using is using Curl
>>extensions of PHP which is working just fine. But you may need to
>>
> recompile
>
>>PHP with curl support. For more info:
>>
>>http://www.php.net/manual/en/ref.curl.php
>>http://curl.haxx.se/
>>
>>Tolga 'thorr' Orhon
>>
>>"Todd Cary" <[EMAIL PROTECTED]> wrote in message
>>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>>
>>>For my http socket connection, I am using
>>>
>>> "POST $abs_url HTTP/1.0\r\n".
>>> "Accept-Language: en-us\r\n".
>>> "Host: $host:$port\r\n".
>>> "Connection: close\r\n".
>>> "Content-type: application/x-www-form-urlencoded\r\n".
>>>
>>>which works great.
>>>
>>>What do I need to change for a SSL connection?
>>>
>>>Todd
>>>
>>>--
>>>Todd Cary
>>>Ariste Software
>>>[EMAIL PROTECTED]
>>>
>>>
>>>
>>>--
>>>PHP General Mailing List (http://www.php.net/)
>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>For additional commands, e-mail: [EMAIL PROTECTED]
>>>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>>
>>--
>>PHP General Mailing List (http://www.php.net/)
>>To unsubscribe, e-mail: [EMAIL PROTECTED]
>>For additional commands, e-mail: [EMAIL PROTECTED]
>>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]