Edgewall Software

Changes between Version 8 and Version 9 of STunnelTracd


Ignore:
Timestamp:
Jun 7, 2006, 8:52:06 PM (18 years ago)
Author:
anonymous
Comment:

document that stunnel is strict about permissions on .pem file

Legend:

Unmodified
Added
Removed
Modified
  • STunnelTracd

    v8 v9  
    22I would appreciate if others could go over this  tutorial on securing (at least for avoiding plaintext sending of auth) tracd  and provide any feedback. It works for me on trac 0.9.2.
    33
    4 Using stunnel version 4 or higher, you can create a tracd configuration file that passes requests on an https port to the port you specify when running tracd. In this manner, your users can access tracd using an https:// request, ensuring their requests (and passwords) aren't being sent cleartext.
     4Using stunnel version 4 or higher, you can create a tracd configuration file that passes requests on an https port to the port you specify when running tracd. In this manner, your users can access tracd using an `https://` request, ensuring their requests (and passwords) aren't being sent cleartext.
    55
    66Put this file in /etc/stunnel/stunnel-tracd.conf:
     
    3333}}}
    3434
    35 The stunnel.cnf file mentioned here is in the source distribution for stunnel, in the tools subdirectory. It will ask you for your state, country, etc. After it generates the .pem file move it to where the .conf file above indicates.
     35The stunnel.cnf file mentioned here is in the source distribution for stunnel, in the tools subdirectory. It will ask you for your state, country, etc. After it generates the .pem file move it to where the .conf file above indicates. Note that depending on what your `umask` is, you may need to adjust the permissions on the `stunnel.pem` file -- 600 (readable and writeable only by owner) should work.
    3636
    3737Make sure to apply the patch in [http://projects.edgewall.com/trac/ticket/2553 ticket 2553] as of trac 0.9.2 so that tracd doesn't forward to an http url.