Jump to content
The Uniform Server Community



Recommended Posts

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);



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?

Link to comment
Share on other sites

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






Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...