stunnel.conf 523 B

12345678910111213141516171819202122
  1. ; File: /etc/stunnel/stunnel.conf
  2. ; Note: The pid and output locations are relative to the chroot location.
  3. pid = /run/stunnel.pid
  4. chroot = /var/lib/stunnel
  5. client = no
  6. setuid = stunnel
  7. setgid = stunnel
  8. cert = /etc/stunnel/stunnel.pem
  9. ;debug = 7
  10. ;output = stunnel.log
  11. ;[https]
  12. ;accept = 443
  13. ;connect = 80
  14. ;; "TIMEOUTclose = 0" is a workaround for a design flaw in Microsoft SSL
  15. ;; Microsoft implementations do not use SSL close-notify alert and thus
  16. ;; they are vulnerable to truncation attacks
  17. ;TIMEOUTclose = 0