|
Setting up Hiawatha webserver with ssl
|
|
03-19-2010, 11:05 PM
(This post was last modified: 03-19-2010 11:18 PM by Ktulu.)
Post: #1
|
|||
|
|||
|
Setting up Hiawatha webserver with ssl
Hiawatha is a free webserver that is designed from the ground up to be easy to use and secure. It features builtin protection from SQL injection and XSS attacks among other things.
You can learn more here: http://www.hiawatha-webserver.org/ This tutorial will show you how to setup ssl on Hiawatha. OK, Hiawatha handles ssl certs a little differnetly than apache, the key, the cert and the cas and intermediate cas go in one file. So lets get started. First things first get your certificate and append the key to it. cat server.key >> server.pem Then append the necessary CAs if there are any and make sure they are IN ORDER!!! cat ca.crt >> server.pem cat ca-intermediate.crt >> server.pem Now to tell hiawatha to use it. open up hiawatha.conf and add the following binding Binding { Port = 443 SSLcertFile = /path/to/server.pem } This tells hiawatha to bind to port 443 on all interfaces and use the specified ssl certificate. You're done! Just restart hiawatha and go to https://your.site.com Enjoy your encryption! |
|||
|
« Next Oldest | Next Newest »
|




