Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

openssl

Featured Replies

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?

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.