philodance Posted March 29, 2007 Report Share Posted March 29, 2007 on www.switch.ch a can login with user & password (like a lot other pages). Then all following URLs start with https:// (secure connections). Now I want to open this secure pages via PHP: $f=fsockopen("https://...", 443, $errno, $errstr, 30);$f=implode('',file("https://...")); Both lines do not work - even when I replace https by ssl.It says: unable to connect to ssl://... (Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?) 1. Is it possible to connect to such pages (where I normally have to login) via PHP? I have uniserver 3.3 on Windows XP. Works fine. Then I downloaded Win32 OpenSSL v0.9.8e Light (Installs the most commonly used essentials of Win32 OpenSSL v0.9.8e; Recommended for most users by the creators of OpenSSL) from http://www.slproweb.com/products/Win32OpenSSL.html and copied the files in the right uniserver-dir. Now I have 2 dirs: \usr\local\apache1 (original) and \usr\local\apache2 (copied files) apache1 still works fine but when I start uniserver with apache2 (which I rename to apache before running uniserver and I changed php.ini & httpd.conf (in both files uncomment ssl-modul)) the Uniserver always try to load redirect.htm and the browser is in a endless loop. 2. What's wrong??????????????????????????????????????????????????????????????????????????????????? 3. After hours I installed the uniserver ssl-plugin. But ths is completely wrong, isn't it? I would use this, if my uniserver would host secure sites, right? Quote Link to comment Share on other sites More sharing options...
Ric Posted March 31, 2007 Report Share Posted March 31, 2007 I have just updated UniCenter and have included a section that covers Stunnel 4.20 upgrade this may help you. Take a look at this page http://center.uniformserver.com/stunnel_42...20_1_intro.html Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted March 31, 2007 Report Share Posted March 31, 2007 A. Why do you have 2 apache directories? B. Are you using Uniform Server's SSL Plugin? Like Quick n Easy SSL, or Stunnel? Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.