Pureftpd - как отключить TLS


Материал из Wiki - Iphoster - 'the best ever hosting and support

Перейти к: навигация, поиск

Самые выгодные сервера‎


Pureftpd - как отключить TLS

# nano /etc/pure-ftpd.conf 
# This option can accept three values : # 0 : disable SSL/TLS encryption layer (default). # 1 : accept both traditional and encrypted sessions. # 2 : refuse connections that don't use SSL/TLS security mechanisms, # including anonymous sessions. # Do _not_ uncomment this blindly. Be sure that : # 1) Your server has been compiled with SSL/TLS support (--with-tls), # 2) A valid certificate is in place, # 3) Only compatible clients will log in. TLS 0

Перезагружаем proftpd:

# /etc/init.d/pure-ftpd restart
Stopping pure-config.pl:
Stopping pure-authd: 1 process (pure-authd) sent signal 9
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd -O clf:/var/log/xferlog --daemonize -A -c50 -B -C8                  15 
-lextauth:/var/run/ftpd.sock -L10000:8 -m4 -s -S21 -U133:022 -u100 -i -Oxferlog:/usr/local/apache/doml                 99 -Z -Y0 - 
JHIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3
                                                         [  OK  ]
Starting pure-authd:


либо так (ставим 0):

-Y      --tls   <opt>
# vi /etc/init.d/pure-ftpd
OPTIONS="-B -A -C 15 -E -H -k 99 -L 10000:8 -O stats:${LOG} -l puredb:${DB} -p 35000:35999 -u 100 -U 133:022 -w -Z"
OPTIONS="${OPTIONS} -Y 0 -J -S:HIGH:MEDIUM:+TLSv1:!SSLv2:+SSLv3"




tags: howto disable tls in pureftpd, pureftpd, tls

Индекс цитирования