X-Git-Url: https://git.treefish.org/fex.git/blobdiff_plain/e60096926213ce02293a261254ff065cae44c1c8..cdeb354c4dbb11b683f9f8c5db2861f3dc572c61:/doc/SSL diff --git a/doc/SSL b/doc/SSL index d0e95f6..6eb73bf 100644 --- a/doc/SSL +++ b/doc/SSL @@ -3,6 +3,7 @@ # execute this as root! # Redhat : stunnel-4 does not work! you need to install stunnel-5 +# Debian : stunnel-5.06 does not work! you need to install stunnel-5.18 mkdir /home/fex/etc cd /home/fex/etc/ @@ -14,6 +15,8 @@ openssl x509 -text -in stunnel.pem chmod 600 stunnel.pem cat <stunnel.conf +debug = warning +output = /home/fex/spool/stunnel.log cert = /home/fex/etc/stunnel.pem sslVersion = all TIMEOUTclose = 1 @@ -21,7 +24,7 @@ exec = perl execargs = perl -T /home/fex/bin/fexsrv stunnel EOD -case $(lsb_release -a 2>/dev/null) in +case $(lsb_release -a 2>/dev/null) in *CentOS*) echo 'fips = no' >>stunnel.conf;; esac @@ -43,7 +46,7 @@ service fexs type = unlisted protocol = tcp port = 443 - cps = 5 10 + cps = 10 2 user = fex groups = yes server = $stunnel