Hi all

I was pointed to the same place, but then i've found the following at phpbuilder 
forums:

"I've looked upon that one too, but it seems that cURL only supports HTTPS connections 
and not the standard SSL connect. I've been to the cURL 
website and it says that SSL/SSH features still have to be implemented.
I have to make a normal socket connection but it doesn't seem to be supported in curl."

This was posted at 09-06-2002
Pablo

>Hi,
>
>I have been doing a bit of research, but am still not entirely sure how to
>do it via sockets - I thought what about libcurl (http://curl.haxx.se/) - It
>may have the answer, although I am not entirely sure about how certificates
>are used with the svsdadm as I haven't actually used it a great deal.
>
>Bill.
>
>----- Original Message -----
>From: "Maarten Engelen" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Wednesday, September 11, 2002 6:29 PM
>Subject: RE: Secure socket connection with php
>
>
>Hi Ben,
>
>> -----Oorspronkelijk bericht-----
>> Van: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]Namens Ben Kennish
>> Verzonden: dinsdag 10 september 2002 17:51
>> Aan: Maarten Engelen
>> Onderwerp: Re: Secure socket connection with php
>>
>>
>> Hi Maarten,
>>
>> Friday, September 6, 2002, 10:38:38 PM, you wrote:
>>
>> > Hi All,
>>
>> > maybe not a question i should ask here, but i figured that
>> > there could be someone that battered his head to wall because of
>> > the same problem i'm having. ;)
>> > I'm writing a PHP based webinterface thingy for FreeVSD
>> > It works fine with plain text sockets on port 1725 of VSD,
>> > but I was just playing around with the SSL version of VSD
>> > but I can't figure out how to make a socket connection
>> > with PHP to a server and than authenticate it using
>> > a certificate and a key. i figured out the folowing:
>> > fsockopen can make a ssl connection with the following
>> > code: fsockopen(ssl://hostname, 1726);
>> > When i have the connection i could use php's openssl
>> > functions for sealing, verifying, opening and signing data,
>> > but I don't have the expert knowledge on the ssl protocol
>> > that I need to get it to work.
>> > Is there anyone that has figured this out or does
>> > anyone have a clue on where to start on this?
>>
>> > Many thanks in advance,
>>
>> > Maarten Engelen
>>
>> I have not tried to implement "vsds" from within a PHP script -
>> instead we are simply calling the 'svsdadm' binary and passing it the
>> relevant args to perform administration on other servers.
>>
>> Let us know if you manage to get it working though. :)
>
>Passing the communication to svsdadm was indeed the first option
>that crossed my mind, but the overhead it creates when
>the number of requests increases is quite high.
>I've been searching for weeks for any code/samples/tutorials, anything
>that gives some pointers on how to implement a secure socket
>connection with the standard PHP functions, but I couldn't find
>anything.
>But than I came across the following: Idaya has some sort of control panel
>(vsdweb), that uses the same sort of SSL connection I'm talking about.
>But the files are zend encoded :-(((
>Maybe Idaya is willing to help the community out on this point by
>showing some php code that makes this connection to svsd???????????
>
>So if anyone has any idea on how to do it, PLEASE POST IT!!!!
>
>
>
>>
>> --
>> Kind Regards,
>>
>> Ben Kennish
>> [EMAIL PROTECTED]
>
>------------------------- The freeVSD Support
>List --------------------------
>Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
>Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
>Archives:    http://freevsd.org/support/mail-archives/freevsd-support
>----------------------------------------------------------------------------
>-
>
>
>------------------------- The freeVSD Support List --------------------------
>Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
>Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
>Archives:    http://freevsd.org/support/mail-archives/freevsd-support
>-----------------------------------------------------------------------------
>
>



------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to