https://wiki.uniformserver.com/index.php?title=Stunnel:_Install_4.24&feed=atom&action=historyStunnel: Install 4.24 - Revision history2024-03-29T13:55:41ZRevision history for this page on the wikiMediaWiki 1.41.0https://wiki.uniformserver.com/index.php?title=Stunnel:_Install_4.24&diff=3442&oldid=prevRic: Protected "Stunnel: Install 4.24" [edit=sysop:move=sysop]2008-08-21T18:36:27Z<p>Protected "<a href="/Stunnel:_Install_4.24" title="Stunnel: Install 4.24">Stunnel: Install 4.24</a>" [edit=sysop:move=sysop]</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:36, 21 August 2008</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Richttps://wiki.uniformserver.com/index.php?title=Stunnel:_Install_4.24&diff=3441&oldid=prevRic at 18:36, 21 August 20082008-08-21T18:36:12Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 18:36, 21 August 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l20">Line 20:</td>
<td colspan="2" class="diff-lineno">Line 20:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>||</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>||</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''' 3.5 Apollo'''<br></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>''' 3.5 Apollo'''<br></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>''' Stunnel upgrded to 4.24'''</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>''' Stunnel upgrded to 4.24<ins style="font-weight: bold; text-decoration: none;">'''<br></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">''' Stunnel upgrded to 4.25</ins>'''</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>|}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Since the release of Apollo I have received a number of emails asking what needs to be changed to get Stunnel working. Also had several emails where users do not like the server being accessed by both http and https. Result is the remainder of this write-up that addresses these issues and targets only Apollo. I have also taken the opportunity to upgrade (S''tunnel 4.24'') as covered on the previous [[Stunnel: Upgrade 4.24 | page]].</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Since the release of Apollo I have received a number of emails asking what needs to be changed to get Stunnel working. Also had several emails where users do not like the server being accessed by both http and https. Result is the remainder of this write-up that addresses these issues and targets only Apollo. I have also taken the opportunity to upgrade (S''tunnel 4.24'') as covered on the previous [[Stunnel: Upgrade 4.24 | page]].</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l31">Line 31:</td>
<td colspan="2" class="diff-lineno">Line 32:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''''Note''''': The file contains all files required for a full update, it is a self extracting archive, '''double click''' to run. <br>To avoid conflicts with official releases I use the suffix uc for both folders and files where appropriate (uc stands for UniCenter).</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>'''''Note <ins style="font-weight: bold; text-decoration: none;">1''''':</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">Stunnel upgraded to 4.25 this also includes a minor modification to Stunnel configuration file, prevents a blank "Choose a digital certificate" pop-up in IE.</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">* '''Download''': This file '''[http://wiki.uniformserver.com/exeload/stunnel/uc35Stunnel_425.exe uc35Stunnel_425.exe]''' and save it to folder '''Uniform Server'''.<br></ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">*''' MD5''': dd5542ed9e83426d77437769d2af0cee</ins></div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2" class="diff-side-deleted"></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins style="font-weight: bold; text-decoration: none;">'''''Note 2</ins>''''': The file contains all files required for a full update, it is a self extracting archive, '''double click''' to run. <br>To avoid conflicts with official releases I use the suffix uc for both folders and files where appropriate (uc stands for UniCenter).</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br></td></tr>
</table>Richttps://wiki.uniformserver.com/index.php?title=Stunnel:_Install_4.24&diff=2993&oldid=prevRic: Protected "Stunnel: Install 4.24" [edit=sysop:move=sysop]2008-06-04T19:40:39Z<p>Protected "<a href="/Stunnel:_Install_4.24" title="Stunnel: Install 4.24">Stunnel: Install 4.24</a>" [edit=sysop:move=sysop]</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 19:40, 4 June 2008</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Richttps://wiki.uniformserver.com/index.php?title=Stunnel:_Install_4.24&diff=2992&oldid=prevRic: New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | MPG UniCenter || Stunnel: Home | [[Stunne...2008-06-04T19:40:30Z<p>New page: <span id="top"></span> <div style="padding:0;margin:0; border-bottom:3px inset #000000"> {| | <a href="/File:Uc_small_logo.gif" title="File:Uc small logo.gif"> MPG UniCenter</a> || Stunnel: <a href="/Stunnel:_Home" title="Stunnel: Home"> Home</a> | [[Stunne...</p>
<p><b>New page</b></p><div><span id="top"></span><br />
<div style="padding:0;margin:0; border-bottom:3px inset #000000"><br />
{| <br />
| [[Image:uc_small_logo.gif | MPG UniCenter]] ||<br />
Stunnel: <br />
[[Stunnel: Home | Home]] | <br />
[[Stunnel: Upgrade 4.24 | Upgrade 4.24]] | <br />
[[Stunnel: Install 4.24 | Install]] | <br />
[[Stunnel: SSL Certificate | SSL Certificate]] |<br />
[[Stunnel: Single Vhost | Single Vhost]] | <br />
[[Stunnel: Resolved | Resolved]] | <br />
[[Stunnel: Basics | Basics]] | <br />
[[Stunnel: Cost | Cost]] | <br />
[[Stunnel: Original | Original]] <br />
|}<br />
</div><br />
{| cellpadding="2"<br />
|<br />
__TOC__<br />
||<br />
''' 3.5 Apollo'''<br><br />
''' Stunnel upgrded to 4.24'''<br />
|}<br />
Since the release of Apollo I have received a number of emails asking what needs to be changed to get Stunnel working. Also had several emails where users do not like the server being accessed by both http and https. Result is the remainder of this write-up that addresses these issues and targets only Apollo. I have also taken the opportunity to upgrade (S''tunnel 4.24'') as covered on the previous [[Stunnel: Upgrade 4.24 | page]].<br />
<br />
== Where to get the upgrade ==<br />
My unofficial plugin is based on the original Uniform Server plugin (Stunnel-4.05) this can be found at the Sourceforge [http://sourceforge.net/project/showfiles.php?group_id=53691&package_id=49448 download page]. I have previously upgraded 3.3 to use the latest version of Stunnel (Stunnel-4.20). For 3.5-Apollo I have changed the file paths to reflect the new folder names. In addition there are a few minor changes that I will explain later.<br />
<br />
* '''Download''': This file '''[http://wiki.uniformserver.com/exeload/stunnel/uc35Stunnel_424.exe uc35Stunnel_424.exe]''' and save it to folder '''Uniform Server'''.<br><br />
*''' MD5''': 7c1f5ab98e500cfbc084f18719c7112d<br />
<br />
<br />
'''''Note''''': The file contains all files required for a full update, it is a self extracting archive, '''double click''' to run. <br>To avoid conflicts with official releases I use the suffix uc for both folders and files where appropriate (uc stands for UniCenter).<br />
<br />
<br />
On completion you will find the following folders and files have been created:<br />
<br />
'''''Folder'' : <nowiki>*</nowiki>\Uniform Server'''<br />
* ucStunnel_stop.bat<br />
* ucStunnel_start.bat<br />
<br />
'''''Folder'' : <nowiki>*</nowiki>\UniformServer\udrive\home\admin\www\plugins\stunnel_424'''<br />
* .htaccess<br />
* index.html<br />
* stunnel.php<br />
* sslstart.cgi<br />
* sslstop.cgi<br />
''<br />
'''''Folder'' : <nowiki>*</nowiki>\UniformServer\udrive\home\admin\www\plugins\stunnel_424\bin'''<br />
{|<br />
|-<br />
|<br />
* .htaccess<br />
* libeay32.dll<br />
* libssl32.dll<br />
* mpg_create.bat<br />
* mpg_stunnel_stop.bat<br />
* mpg_stunnel_start.bat<br />
* mpg_perl_stop.bat<br />
* mpg_perl_start.bat<br />
* mpg_php_stop.bat<br />
* mpg_php_start.bat<br />
|<br />
&nbsp;&nbsp;&nbsp;<br />
|valign="top"|<br />
* openssl.exe<br />
* stunnel<br />
* ssleay32.dll<br />
* stunnel.conf<br />
* stunnel.pem<br />
* stunnel.rnd<br />
* stunnel_424.exe<br />
* zlib1.dll<br />
|}<br />
<br />
'''''[[#top | Top]]'''''<br />
<br />
== How to Run ==<br />
This plugin like the official version has several ways of starting and stopping Stunnel.<br />
<br />
=== Preferred method ===<br />
Navigate to folder '''Uniform Server''' double clink on '''ucStunnel_start.bat''' or '''ucStunnel_stop.bat''' to start and stop the Stunnel server respectively.<br />
<br />
<br />
'''''Note 1''''': Stunnel is independent of Uniform Server; this allows you to start Stunnel before or after staring UniServer.<br />
<br />
'''''Note 2''''': The above two batch files do not directly start Stunnel they use intermediary files mpg_stunnel_start.bat and mpg_stunnel_start.bat found in folder *\Uniform Server\udrive\home\admin\www\plugins\stunnel_424\bin. They allow other external programs to start and stop Stunnel in addition they provide Stunnel with [[Stunnel: Resolved#Stunnel Path Independence| path independence]].<br />
<br />
=== From a browser via your Apache server ===<br />
Start Uniform Server and type the following into your browser address bar:<br />
<br />
'''<nowiki>http://localhost/apanel/plugins/stunnel_424/index.html</nowiki>'''<br />
<br />
This opens Stunnel’s control page, you will find the controls have been duplicated, left set of links use [[Stunnel: Resolved#Practical Solutions| Perl cgi pages]] while links on the right use [[Stunnel: Resolved#Practical Solutions| PHP pages]]. Either allows you to start and stop Stunnel.<br />
<br />
'''Note''': The above duplication is not really required its provided only to show examples of using either Perl or PHP to control Stunnel.<br />
<br />
=== Other programs ===<br />
If you are using other programs to control Stunnel such as UniTray they should use the two batch files '''mpg_stunnel_start.bat''' and '''mpg_stunnel_stop.bat''' located in folder <nowiki>*</nowiki>''\Uniform Server\udrive\home\admin\www\plugins\stunnel_424\bin'' for this purpose. Using these files allows Stunnel to be started before or after UniServer.<br />
<br />
'''''Note''''': Check out this page for background information on mpg_stunnel_start.bat<br />
<br />
'''''[[#top | Top]]'''''<br />
<br />
== Testing ==<br />
Testing is straightforward, start both servers Uniform and Stunnel.<br />
Type '''<nowiki>https://localhost</nowiki>''' into your browser address bar.<br />
<br />
Your browser will start a secure transaction resulting in either a warning pop-up stating the “Server Certificate has Expired” or you will receive several security alerts “Security Alert check this page for screen shots” accept certificate for a single session (do not save the certificate to your browser)<br />
<br />
The actual wording will vary across browsers just accept this certificate temporarily for this session.<br />
<br />
The net result will be a '''padlock symbol''' indicating a secure connection and Stunnel is working correctly.<br />
<br />
'''''[[#top | Top]]'''''<br />
== Security certificate ==<br />
If you view the certificate (this example shows the result from Firefox) you will see something like this:<br />
<br />
<pre><br />
SSL Server Certificate <br />
Issued To <br />
Common Name (CN) fred.gotdns.com<br />
Organization (O) Mike Gleaves UniCenter<br />
Organizational Unit (OU) Uniform Server 3.5-Apollo example<br />
Serial Numer 00<br />
Issued By <br />
Common Name (CN) fred.gotdns.com<br />
Organization (O) Mike Gleaves UniCenter<br />
Organizational Unit (OU) Uniform Server 3.5-Apollo example<br />
Validity <br />
Issued On 22/08/2007<br />
Expires On 19/08/2017<br />
Fingerprints <br />
SHA1 Fingerprint 80:87:52:6D:30:54:B1:8E:BD:56:B6:3E:F3:08:42:02:15:C7:1A:30<br />
MD5 Fingerprint EC:29:34:94:D8:33:F9:16:EC:BF:9E:56:06:B8:B6:42<br />
</pre><br />
<br />
The above information gives you an idea what will be required when creating your own certificate and private key, note these are both contained in the file stunnel.pem.<br />
<br />
'''Important Note'''<br />
<br />
At this point I must stress the private key (certificate) shipped with Stunnel and UniServer are both compromised and pose a security risk.<br />
<br />
Anyone downloading Stunnel have the same key (certificate) this is ideal for testing but not for production or a personal server. However it is extremely easy to create your own personal unique certificate I cover this on the [[Stunnel: SSL Certificate | next page]].<br />
<br />
This certificate is unique to you and is the one you can save to your browser if you wish to avoid those [[Stunnel: Cost#Secure personal server | annoying security alerts]]. <br />
<br />
'''''[[#top | Top]]'''''<br />
<br />
----<br />
<br />
{| <br />
| [[Image:uc_small_logo.gif]] || [[User:Ric|Ric]]<br />
|}<br />
<br />
[[Category: UniCenter]]<br />
[[Category: Support]]<br />
[[Category: Installation]]<br />
[[Category: Application]]<br />
[[Category: Development]]<br />
[[Category: Plugins]]</div>Ric