Page 1 of 1

proftpd + TLS 500 AUTH not understood

Posted: Mon Feb 15, 2021 4:55 pm
by lotric
AUTH SSL
Ответ: 500 AUTH not understood
Ошибка: Критическая ошибка: Невозможно подключиться к серверу

Code: Select all

ServerName                      "FTP"
ServerIdent                     on "FTP Server ready."
ServerAdmin                     root@localhost
DefaultServer                   on
DefaultRoot                  ~ !adm

<IfModule mod_vroot.c>
    VRootEngine                 on
    VRootAlias                  /etc/security/pam_env.conf etc/security/pam_env.conf
</IfModule>


AuthPAMConfig                   proftpd
AuthOrder                       mod_auth_pam.c* mod_auth_unix.c
UseReverseDNS                   off
User                            proftpd
Group                           nogroup
MaxInstances                    20
UseSendfile                     off
LogFormat                       default "%h %l %u %t \"%r\" %s %b"
LogFormat                       auth    "%v [%P] %h %t \"%r\" %s"
ListOptions                     -a
RequireValidShell               off
PassivePorts                    12000 12100

<Global>
  Umask                         002
  IdentLookups                  off
  AllowOverwrite                yes
  <Limit ALL SITE_CHMOD>
    AllowAll
  </Limit>
</Global>
SystemLog   /var/log/proftpd/proftpd.log
Include /etc/proftpd/tls.conf
tls.conf

Code: Select all

<IfModule mod_tls.c>
TLSEngine                               on
TLSLog                                  /var/log/proftpd/tls.log
TLSProtocol                             SSLv23
TLSRSACertificateFile                   /etc/ssl/certs/proftpd.crt
TLSRSACertificateKeyFile                /etc/ssl/private/proftpd.key
#TLSCACertificateFile 			 /etc/ssl/certs/CA.pem
TLSOptions                      NoCertRequest EnableDiags 
TLSOptions                      NoCertRequest EnableDiags NoSessionReuseRequired
TLSOptions 							AllowClientRenegotiations
TLSVerifyClient                         off
TLSRequired                             on
TLSRenegotiate                          required off
</IfModule>
#TLSCACertificateFile /etc/ssl/certs/CA.pem вот это закоментил непонял откуда брать его


Feb 15 16:52:26 123c systemd[1]: proftpd.service: Failed to set invocation ID on control group /system.slice/proftpd.s
Feb 15 16:52:26 123c systemd[1]: Starting LSB: Starts ProFTPD daemon...
Feb 15 16:52:26 123c proftpd[19134]: Starting ftp server: proftpd2021-02-15 16:52:26,875 123c proftpd[19146]: warning: Вот тут непонял что дальше, экран не показывает
Feb 15 16:52:26 123c proftpd[19134]: .
Feb 15 16:52:26 123c systemd[1]: Started LSB: Starts ProFTPD daemon.