Synchronet v3.19b-Win32 (install) has been released (Jan-2022).

You can donate to the Synchronet project using PayPal.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howto:hiawatha [2016/02/28 21:22] – Added instructions for obtaining a Let's Encrypt SSL certificate and installing it into Hiawatha The5thDhowto:hiawatha [2016/05/28 11:11] (current) – Updated "To Do" section. The5thD
Line 1: Line 1:
 ====== How to use Hiawatha as a reverse proxy server for Synchronet ====== ====== How to use Hiawatha as a reverse proxy server for Synchronet ======
-Synchronet 3.16c and prior versions do not support SSL connections. Synchronet CVS subsequent to 3.16c have an implementation of SSL, but you may either have problems with it working correctly or you may simply with to use Hiawatha's implementation of SSL. Hiawatha also has several other security features which can be useful for increasing security for Synchronet's webserver.+Synchronet 3.16c and prior versions do not support SSL connections. Synchronet CVS subsequent to 3.16c have an implementation of SSL, but you may either have problems with it working correctly or you may simply wish to use Hiawatha's implementation of SSL. Hiawatha also has several other security features which can be useful for increasing security for Synchronet's webserver.
  
 ====== Installation of Hiawatha ====== ====== Installation of Hiawatha ======
Line 78: Line 78:
  
 <code> <code>
-cat /etc/letsencrypt/live/stardate.synchro.net/privkey.pem /etc/letsencrypt/live/stardate.synchro.net/cert.pem /etc/letsencrypt/live/stardate.synchro.net/chain.pem > /etc/hiawatha/tls/stardate.synchro.net.pem+cat /etc/letsencrypt/live/stardate.synchro.net/privkey.pem /etc/letsencrypt/live/stardate.synchro.net/cert.pem /etc/letsencrypt/live/stardate.synchro.net/chain.pem > /etc/hiawatha/stardate.synchro.net.pem
 </code> </code>
  
Line 84: Line 84:
  
 <code> <code>
-chmod 400 /etc/hiawatha/tls/stardate.synchro.net.pem+chmod 400 /etc/hiawatha/stardate.synchro.net.pem
 </code> </code>
 +
 +Edit /etc/hiawatha/hiawatha.conf and look for the heading "BINDING SETTINGS" near the top. Ensure that your settings look similar to the following:
 +
 +<code>
 +# BINDING SETTINGS
 +# A binding is where a client can connect to.
 +#
 +Binding {
 +        Port = 80
 +#       Interface = 127.0.0.1
 +#       MaxKeepAlive = 30
 +#       TimeForRequest = 3,20
 +}
 +#
 +Binding {
 +        Port = 443
 +#       Interface = ::1
 +#       MaxKeepAlive = 30
 +#       TimeForRequest = 3,20
 +        TLScertFile = stardate.synchro.net.pem
 +}
 +</code>
 +
 +The name of the TLScertFile could be a complete patch such as /etc/hiawatha/stardate.synchro.net.pem but a full path shouldn't be necessary if the certificate is in the same directory as the Hiawatha configuration file.
  
 Finally start (or restart) the Hiawatha web server. Finally start (or restart) the Hiawatha web server.
Line 91: Line 115:
 <code> <code>
 /etc/init.d/hiawatha restart /etc/init.d/hiawatha restart
 +</code>
 +
 +And, if you haven't already, restart or recycle your Synchronet web server so that the changes made earlier will take effect.
 +
 +<code>
 +/etc/init.d/sbbs restart
 +</code>
 +
 +Open up your preferred web browser and point it to your web site and test it with http and https prefixes to ensure everything works properly.
 +
 +<code>
 +https://stardate.synchro.net
 </code> </code>
  
 For more information, you may refer to the following Hiawatha forum post: https://www.hiawatha-webserver.org/forum/topic/2085 For more information, you may refer to the following Hiawatha forum post: https://www.hiawatha-webserver.org/forum/topic/2085
  
 +====== To Do for Wiki ======
 +<code>
 +1. Update Wiki to reflect minor default path changes from Hiawatha 10.0 to 10.1.
 +2. Possibly update Wiki to support Hiawatha 10.2's built-in support for Let's Encrypt.
 +3. Add Wiki section on setting up automatic renewal of Let's Encrypt certificates.
 +</code>
 ===== See Also ===== ===== See Also =====
   * [[:howto:|howto index]]   * [[:howto:|howto index]]