Re: [PHP] SSL issues

2011-03-22 Thread Bostjan Skufca
I just remembered, I had "unrelated" issue yesterday with php 5.3.6. It is used as standalone socket server with SSL connections and it suddenly stopped working, server was receiving gibberish instead of XML requests. I nailed it down to stream_set_blocking() which was set to false for various daem

Re: [PHP] SSL issues

2011-03-22 Thread Bostjan Skufca
This works, but SSL-enabled socket connection does not. Will craft a short script ASAP. b. On 22 March 2011 11:37, Richard Quadling wrote: > On 22 March 2011 01:21, Bostjan Skufca wrote: >> Hi all, >> >> is anyone else experiencing SSL connectivity issues with PHP 5.3(.5|6)? >> PHP 5.2.17 comp

Re: [PHP] SSL issues

2011-03-22 Thread Richard Quadling
On 22 March 2011 01:21, Bostjan Skufca wrote: > Hi all, > > is anyone else experiencing SSL connectivity issues with PHP 5.3(.5|6)? > PHP 5.2.17 compiled identically on the same system with the same > config file connects to remote SSL-enabled host just fine, whereas PHP > 5.3 (only tried .5 and .

[PHP] Re: php ssl connection timeout issue

2009-05-15 Thread Jerry Zhao
On Thu, May 14, 2009 at 5:17 PM, Nathan Rixham wrote: > Jerry Zhao wrote: > >> On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham wrote: >> >> Jerry Zhao wrote: >>> >>> I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php bu

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham wrote: Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r(

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Jerry Zhao
On Thu, May 14, 2009 at 5:05 PM, Nathan Rixham wrote: > Jerry Zhao wrote: > >> I tried different combination of ssl clients and servers, it all points to >> problems on the client side of my new php build. The same code worked on >> an >> older php build. >> >> > checked the output of print_r( st

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. checked the output of print_r( stream_get_wrappers() );? -- PHP General Mailing List (http://www.php.net/)

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Jerry Zhao
I tried different combination of ssl clients and servers, it all points to problems on the client side of my new php build. The same code worked on an older php build. On Thu, May 14, 2009 at 4:57 PM, Nathan Rixham wrote: > Jerry Zhao wrote: > >> Hi, >> >> I am having trouble connecting to http

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Nathan Rixham
Jerry Zhao wrote: Hi, I am having trouble connecting to https sites using php's builtin ssl functions. I tried: file_get_contents('https://securesite') fsockopen('ssl://securesite', 443, $errno, $errstr,20) and same errors every time: SSL: connection timeout Failed to enable crypto Call to ope

[PHP] Re: php ssl connection timeout issue

2009-05-14 Thread Shawn McKenzie
Jerry Zhao wrote: > Hi, > > I am having trouble connecting to https sites using php's builtin ssl > functions. > I tried: > file_get_contents('https://securesite') > fsockopen('ssl://securesite', 443, $errno, $errstr,20) > > and same errors every time: > SSL: connection timeout > Failed to enable

Re: [PHP] SSL Connection causes data errors.

2006-09-22 Thread Richard Lynch
On Mon, September 18, 2006 5:33 pm, Stefan wrote: > I was wondering if anyone has experienced this before. > I am connecting to an IIS server over HTTPS using > pfsockopen and am getting xml data returned. Now when > I open the URL in a browser the XML is returned fine > without a problem. However

Re: [PHP] ssl.

2006-08-24 Thread Alex Turner
João, Please try and find out why it is not working now. Once you have that worked out, it will be much easier to find out what has changed. There are a few subtle methods by which changing the key length might interact with PHP. However, in general, PHP is not involved with the encryption

Re: [PHP] ssl.

2006-08-24 Thread Alex Turner
João, Surely the issue is to find why it is not working now. Why it did work in the past is only of interest if you want to stop the problem re-occurring in the future. Thus, the correct approach is to find why it is not working now, fix it and then see if you can work out what has change b

Re: [PHP] ssl.

2006-08-24 Thread Jo�o C�ndido de Souza Neto
Nothing was changed at the code, just the ssl key was changed. Why it was working fine with the old ssl key? "Tim Traver" <[EMAIL PROTECTED]> escreveu na mensagem news:[EMAIL PROTECTED] > > João Cândido de Souza Neto wrote: >> Hy everyone. >> >> Since we change our ssl key from 128kb to a 256k

Re: [PHP] ssl.

2006-08-24 Thread Tim Traver
João Cândido de Souza Neto wrote: Hy everyone. Since we change our ssl key from 128kb to a 256kb i notice that something´s going wrong. In my e-commerce, part is secure and part isn´t. when i join into the secure part of the site, everithing works fine. But, when the sale is finishes and m

Re: [PHP] SSL & normal sessions stored differently?

2005-11-08 Thread Richard Lynch
Go through all the hoops to END the old session. Then start your new one. This *MIGHT* work to over-ride the auto_start in php.ini On Thu, November 3, 2005 8:42 am, Jesse Guardiani wrote: > Hello, > > I'm running php-4.3.2-19.ent under httpd-2.0.46-44.ent on Red Hat > Enterprise > Linux ES rel

[PHP] Re: PHP, SSL and private keys

2005-08-11 Thread Manuel Lemos
Hello, on 08/11/2005 04:04 PM Evert | Rooftop said the following: I would like to give my users the possibility to authenticate through a private certificate to confirm their identity. I'm not really sure where to start. Has anyone seen a website explaining this? Some pointers would be very welc

Re: [PHP] SSL ldap bind

2005-06-16 Thread Richard Lynch
On Thu, June 16, 2005 9:45 am, Jason Motes said: WILD GUESS ALERT! > and returns the error: > ldap_ssl_interactive_bind_s: Unknown authentication method (86) > additional info: SASL(-4): no mechanism available: No worthy mechs > found > if i run the above command with the de

Re: [PHP] SSL ldap bind

2005-06-16 Thread Jason Motes
I am trying to do an ssl ldap bind to novell's edir 8.7. I have followed the examples from http://us4.php.net/manual/en/function.ldap-connect.php I know these examples are for AD, but they should be close to the same. I have exported the server cert and made the changes to ldap.conf. and

Re: [PHP] SSL ldap bind

2005-06-16 Thread Jason Motes
$ldapserver="ldapserver"; //this works $ldapserver="ldaps://ldapserver"; //this fails $ldapserver="ldapserver:636"; //this fails if (!($ldap = ldap_connect($ldapserver))) { die ("Could not connect to LDAP Server: $server\n"); } else { print "Connected\n"; } if (!(ldap_bind($ldap, $bindU

Re: [PHP] SSL & XML File Download Problem

2005-04-05 Thread Richard Lynch
On Fri, April 1, 2005 12:20 pm, Shaun said: > As the > header is chaged to XML it forces the browser to ask the user if they want > to download the file rather than outputting the results straight to the > browser: I can't necessarily help you with your problem, but the above statement is INCORREC

Re: [PHP] SSL & XML File Download Problem

2005-04-05 Thread Shaun
Hi Chris, I have turned off friendly messages, but I get the same message... "Chris W. Parker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Shaun on Friday, April 01, 2005 11:20 AM said: > This was working fine until i added an SSL certificate to m

RE: [PHP] SSL & XML File Download Problem

2005-04-01 Thread Chris W. Parker
Shaun on Friday, April 01, 2005 11:20 AM said: > This was working fine until i added an SSL certificate to my site, > now I get the following error message: > > Internet Explorer cannot download ..._download.php?id=4723 from > www... .com > > Internet Explorer was

Re: [PHP] SSL

2005-01-06 Thread Richard Lynch
[EMAIL PROTECTED] wrote: > Thinking of going from http to https on the server. My question is: Would > there be any differences in my php-code from now? No. Well, maybe. You might want to use PHP to detect that you *ARE* on a secure connection. You also migth want to isolate your *need* for SS

Re: [PHP] SSL

2005-01-05 Thread Jamie Alessio
> Thinking of going from http to https on the server. > Would there be any differences in my php-code from now? > Switching from http to https shouldn't require any big changes to your PHP code. The PHP code itself doesn't care that it is being accessed via a https url - your webserver takes care

[PHP] Re: [php] Re: [PHP] SSL

2003-03-22 Thread Rodney Green
> You can use Curl to send post requests, take a look at > http://www.php.net/curl > > If you have compiled PHP --with-openssl you can also access https > locations with functions such as file_get_contents. > > If Curl is not an option and you have PHP compiled with streams and > --with-openssl yo

Re: [PHP] SSL

2003-03-22 Thread Jason Sheets
Hello Rodney, You can use Curl to send post requests, take a look at http://www.php.net/curl If you have compiled PHP --with-openssl you can also access https locations with functions such as file_get_contents. If Curl is not an option and you have PHP compiled with streams and --with-openssl

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Joshua Minnie
I will try on the PHP-DB newsgroup as well, but I wanted to let you know about a link I found which shows the integration of SSL with MySQL and PHP. Here is the link: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html. Thanks for the help. -Josh "Brad Bonkoski" <[EMAIL PROTECTED

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Brad Bonkoski
I would say it really all depends on your network configuration. I am assuming that your Web server running PHP is running on one machine (SERVER A)and the MYSQL server running on another (SERVER B)outside of a common firewall? Is this accurate? If this is true, then I would presume that PHP on

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Joshua Minnie
What about utilizing an encrypted text file then. Would there be anything wrong with doing it that way? I really don't have too much of an option as far as the server specs go because I didn't set up the web hosting. -Josh Brad Bonkoski wrote: > I think you may need to read: > http://www.php.n

Re: [PHP] SSL, PHP, & MySQL

2002-12-13 Thread Brad Bonkoski
I think you may need to read: http://www.php.net/manual/en/function.mysql-connect.php It appears that the SSL client flag for connecting to MYSQL is not available until 4.3.0, but you can pick up the 4.3.0RC3 version now, and test it out! I _think_ this is what you are looking for. HTH -Brad Jos

Re: [PHP] SSL inside of PHP

2002-09-12 Thread Chris Shiflett
I've never done this, but I understand that curl is supposed to offer support for SSL. http://www.php.net/manual/en/ref.curl.php The manual looks a bit weak in this regard, but maybe that will give you a decent starting point. If someone else has an example, that would be more useful. Happy

Re: [PHP] ************ SSL Support *****************

2002-08-19 Thread Rasmus Lerdorf
php.net/curl On Mon, 19 Aug 2002, Ron Stagg wrote: > >From within a PHP script, I need to initiate a secure HTTPS form POST > from my Apache server to a separate third party server. I have yet to > figure out how to accomplish this. Can PHP even handle something like > this? > > I welcome any

RE: [PHP] SSL Support for PHP....

2002-06-14 Thread Henrik Johansson
To: [EMAIL PROTECTED] Subject: Re: [PHP] SSL Support for PHP Hello, I'm not to sure about the servers. I use Windows XP Pro and I'm coding and stuff offline to learn more about php, lasso and mysql. I've been doing this awile now but I've had problems with various

RE: [PHP] SSL Support for PHP....

2002-06-14 Thread Brian McGarvie
Also... IF Apache... what version? > -Original Message- > From: Brian McGarvie > Sent: 14 June 2002 9:14 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: [PHP] SSL Support for PHP > > > Right... > > Back to the old bombshell of which webserver... > > I have'nt seen any re

Re: [PHP] SSL Support for PHP....

2002-06-14 Thread Chris Bunting
Hello, I'm not to sure about the servers. I use Windows XP Pro and I'm coding and stuff offline to learn more about php, lasso and mysql. I've been doing this awile now but I've had problems with various php/mysql scripts. I usually get scripts from hotscripts.com and have prolly about 100 di

Re: [PHP] SSL needed for socket communication?

2002-04-08 Thread Miguel Cruz
On Mon, 8 Apr 2002, Erik Price wrote: > My Apache server is currently not configured to use SSL, and I do not > have a certificate. There is a possibility that I will be creating a > script to send POST data to another company's web service, and that > company requires the connection to be via

RE: [PHP] ssl

2002-02-09 Thread Frank Hertogs
[mailto:[EMAIL PROTECTED]] Verzonden: zaterdag 9 februari 2002 22:03 Aan: Frank Hertogs Onderwerp: Re: [PHP] ssl On Friday 01 Feb 2002 22:25, Frank Hertogs wrote: > Anyone have experience with authentication on ssl connections, I have a > (working) script to authenticate a user but as soon as I p

Re: [PHP] SSL Connection with cURL

2001-12-20 Thread Gerard Onorato
Roman, This is certainly not the exact answer you are looking for however... We had a lot of trouble using the PHP curl commands directly. We are currently doing a large volume of transactions using cURL with great success by shelling to it. I am attaching a very simple example of what we are

RE: [PHP] SSL & php

2001-11-10 Thread Robert Klinkenberg
SSL encrypts the data between the user and your webserver only It does not encrypt data send by you to your mailserver, nor does it influence the way your mailserver sends the mailmessage to the mailserver of the user. (in plain text) So, you need to encrypt the data in the email. It is however

Re: [PHP] SSL & php

2001-11-10 Thread Cece
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello! > How secure is the email in transit from the SSL page to the recipient's > mailbox? A Does SSL offer any security in this regard? B Or does it need to be encrypted? Answer is: B :) you - ssl encrypted line -> server

RE: [PHP] SSL Advice

2001-08-23 Thread SED
Hi Berber, I was reading the agreement for Verisign certificate and they request a fee for each machine and, if I remember it correctly, each domain, and it's not a cheap one! Regards, Sumarlidi Einar Dadason SED - Graphic Design -- Phone: (+354) 4

Re: [PHP] SSL encryption type in PHP?

2001-08-08 Thread Sean C. McCarthy
Hi, Use getenv() since it is a CGI variable. Look at the manual. Sean C. McCarthy SCI, S.L. (www.sci-spain.com) "Dr. Evil" wrote: > > > You can tell it using the variables from the server. Using Apache you > > can access the variables specs at: > > > > http://www.apache-ssl.or

Re: [PHP] SSL encryption type in PHP?

2001-08-08 Thread Dr. Evil
> You can tell it using the variables from the server. Using Apache you > can access the variables specs at: > > http://www.apache-ssl.org/docs.html > > With Apache SSL is SSL_CIPHER returns the variable about SSL/TLS > ciphersuite. Do you know how I would access that variable from PHP? Is tha

Re: [PHP] SSL encryption type in PHP?

2001-08-07 Thread Sean C. McCarthy
Hi, You can tell it using the variables from the server. Using Apache you can access the variables specs at: http://www.apache-ssl.org/docs.html With Apache SSL is SSL_CIPHER returns the variable about SSL/TLS ciphersuite. Sean C. McCarthy SCI, SL (www.sci-spain.com) "Dr. Evi

RE: [PHP] SSL and CURL question --

2001-05-15 Thread Leavell Digital Design
Can't help you with your code but, you may want to check out the snoopy class at Sourceforge.net. http://sourceforge.net/projects/snoopy/ It uses ssl and cURL. Works pretty well. Kevin Leavell Leavell Digital Design Inc. P 406.829.8989 C 406.240.4595 ---> -Original Message- ---> From:

Re: [PHP] SSL SSL SSL SSL -- READ THIS!!!!!!

2001-04-23 Thread Scott Fletcher
Well there is one method to do this! OpenSSL ./config --prefix=/usr/local/openssl-0.9.6 --openssl=/usr/local/openssl-0.9. 6 make make test make install Mod_SSL ./configure --prefix=/usr/local/mod_ssl-2.8.0-1.3.17 --with-apache=../apache _1.3.17 --with-ssl=../openssl-0.9.6 Apache ./c

Re: [PHP] SSL SSL SSL SSL -- READ THIS!!!!!!

2001-04-18 Thread Toby Miller
- Original Message - From: "phpman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 17, 2001 4:55 PM Subject: [PHP] SSL SSL SSL SSL -- READ THIS!! > How do I establish an SSL socket connection with PHP? > I have PHP compiled in an Apache Mod_SSL server. Do I need to

Re: [PHP] SSL SSL SSL SSL -- READ THIS!!!!!!

2001-04-17 Thread Martín Marqués
On Mar 17 Abr 2001 23:55, phpman wrote: > How do I establish an SSL socket connection with PHP? > I have PHP compiled in an Apache Mod_SSL server. Do I need to compile PHP > with > some sort of open_ssl option? I have --enable-sockets in the command line. > Please help!!! No, No, No! Saludos

Re: [PHP] SSL Tutorial?

2001-04-02 Thread B. van Ouwerkerk
At 15:34 2-4-01 -0500, Jeff Oien wrote: >Could anyone point me to some good basic SSL tutorials? www.devshed.com Bye, B. -- 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 admini

Re: [PHP] ssl

2001-02-15 Thread Richard Lynch
> is there anything we should be aware of > if we like that our php/mysql pages > are working with an ssl-server ? Nothing especially related to PHP, really, except what you would do anyway: Don't be having a bunch of files laying around that you don't know what they are or what they do or etc.