Einzelnen Beitrag anzeigen

Benutzerbild von DeluxXx
DeluxXx

Registriert seit: 3. Jul 2006
92 Beiträge
 
#2

Re: IdFTP und Implizite TLS verschlüsselung (FTPS) ?

  Alt 30. Okt 2007, 08:00
Push =)
Also ich hab das Projekt nochmal aufgenommen auch wenn ich irgendwie immer noch feststeck.
Ich habe mich jetzt für eine Implizite Verbindung entschlossen .
Delphi-Quellcode:
//idSSLio: TIdSSLIOHandlerSocketOpenSSL;
//idftp1 : TIdFtp;
with idSSLio do
  begin
    BoundIp := '127.0.0.1' ;
    BoundPort := 21 ;
    SSLOptions.CertFile:= ExtractFilepath(paramstr(0)) + 'certificate.crt';
    Destination := idftp1.Host;
    Host := idftp1.Host ;
  end;
with idftp1 do
  begin
    AUTHCmd := tAuto;
    iohandler := idsslio ;
    AutoLogin := True;
    UseTLS :=utUseRequireTLS;
    Connect ;
  end ;
Das Ergebnis sind die Fehler :
"Could not Load SSl Library"
Und daraufhin
"Start SSL negotiation command failed"
libeay32.dll und ssleay32.dll liegen jedoch im Verzeichnis !

Hier mal aus der Sicht des Servers
per FileZillaClient mit Ftp durch Implizites TLS/SSL
Zitat:
(000001) 30.10.2007 08:43:42 - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000001) 30.10.2007 08:43:42 - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.23 beta
(000001) 30.10.2007 08:43:45 - (not logged in) (127.0.0.1)> SSL connection established
(000001) 30.10.2007 08:43:53 - (not logged in) (127.0.0.1)> USER deluxxx
(000001) 30.10.2007 08:43:53 - (not logged in) (127.0.0.1)> 331 Password required for deluxxx
(000001) 30.10.2007 08:43:53 - (not logged in) (127.0.0.1)> PASS *******
(000001) 30.10.2007 08:43:53 - deluxxx (127.0.0.1)> 230 Logged on
...
und jetzt per Delphi Code
Zitat:
(000002) 30.10.2007 08:53:48 - (not logged in) (127.0.0.1)> Connected, sending welcome message...
(000002) 30.10.2007 08:53:48 - (not logged in) (127.0.0.1)> 220-FileZilla Server version 0.9.23 beta
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> AUTH TLS
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> 502 SSL/TLS authentication not allowed
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> AUTH SSL
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> 502 SSL/TLS authentication not allowed
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> AUTH TLS-C
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> 504 Auth type not supported
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> AUTH TLS-P
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> 504 Auth type not supported
(000002) 30.10.2007 08:53:54 - (not logged in) (127.0.0.1)> QUIT
...
If debugging is the process of removing bugs, then programming must be the process of putting them in.
  Mit Zitat antworten Zitat