Titel: Login mit PSFTP Professional funktioniert nicht Beitrag von: numx am 04. Dezember 2004, 19:13:21 Hallo Leute,
ich habe bei einen FTP Server mit TLS Verschlüsselung laufen. Ich habe nach der Anleitung von Sven gearbeitet und mit die Schlüssel server.key, server.crt, server.csr und server.key.unsecure erzeugt diese Schlüssel habe ich in das Verzeichnis /etc/ssl/certs kopiert. Beim Start von Proftpd erscheint keine Fehlermeldung. Beim Einloggen mit PSFTP ohne Verschlüsselung klapt alles wunderbar. Schalte ich aber in der Konf die TLS Geschichte ein komme ich nicht mehr rein. In meiner TLS Log erscheint dann folgendes Dec 04 19:48:34 mod_tls/2.0.6[341]: using default OpenSSL verification locations (see $SSL_CERT_DIR) Dec 04 19:48:40 mod_tls/2.0.6[341]: error: '/etc/ssl/certs/server.key': error:0906406D:PEM routines:DEF_CALLBACK:problems getting password Dec 04 19:48:40 mod_tls/2.0.6[341]: TLS/TLS-C requested, starting TLS handshake Dec 04 19:48:40 mod_tls/2.0.6[341]: unable to accept TLS connection: error:00000001:lib(0):func(0):reason(1) Dec 04 19:48:40 mod_tls/2.0.6[341]: TLS/TLS-C negotiation failed on control channel Hier einmal meine Proftpd Konf. # This is a basic ProFTPD configuration file (rename it to # 'proftpd.conf' for actual use. It establishes a single server # and a single anonymous login. It assumes that you have a user/group # "nobody/nogroup" and "ftp" for normal operation and anon. ServerName "Debian" ServerType standalone DeferWelcome off MultilineRFC2228 on DefaultServer on ShowSymlinks on AllowOverwrite on TimeoutNoTransfer 600 TimeoutStalled 600 TimeoutIdle 1200 DisplayLogin welcome.msg DisplayFirstChdir .message ListOptions "-l" DenyFilter \*.*/ # Uncomment this if you are using NIS or LDAP to retrieve passwords: #PersistentPasswd off # Uncomment this if you would use TLS module: #TLSEngine on # Uncomment this if you would use quota module: #Quotas on # Uncomment this if you would use ratio module: #Ratios on # Port 21 is the standard FTP port. Port 21 # To prevent DoS attacks, set the maximum number of child processes # to 30. If you need to allow more than 30 concurrent connections # at once, simply increase this value. Note that this ONLY works # in standalone mode, in inetd mode you should use an inetd server # that allows you to limit maximum number of processes per service # (such as xinetd) MaxInstances 30 # Set the user and group that the server normally runs at. User nobody Group nogroup <Directory /*> # Umask 022 is a good standard umask to prevent new files and dirs # (second parm) from being group and world writable. Umask 022 022 # Normally, we want files to be overwriteable. AllowOverwrite on </Directory> <Limit LOGIN> DenyGroup !ftpuser </Limit> <IfModule mod_tls.c> TLSEngine on TLSLog /var/log/proftpd_tld.log TLSProtocol TLSv1 TLSRequired off TLSRSACertificateFile /etc/ssl/certs/server.crt TLSRSACertificateKeyFile /etc/ssl/cert/server.key TLSVerifyClient off </IfModule> Das Prog PSFTP soll tls unterstützen. Gibt es vielleicht ein anderes Programm. Wenn ja wie heisst es und wie stelle ich das Prog dann für tls ein. Screenshots wären nicht schlecht. |