problem mit curlftpFS und ssl

Serverdienste ohne eigene Kategorie
w0bble
Posts: 22
Joined: 2005-11-05 18:14
 

problem mit curlftpFS und ssl

Post by w0bble »

Hallo,

ich versuche per CurlFtpFs einen ssl geschützen FTP server zu mounten. leider bekomme ich folgenden error

Code: Select all

Error connecting to ftp: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt
jemand eine idee was ich machen muss?

oder gibts ne alternative zu CurlFtpFs?
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: problem mit curlftpFS und ssl

Post by daemotron »

Du musst das CA-Zertifikat, mit dem das Zertifikat des FTP-Servers signiert wurde, in Deinen CA-Speicher (Pfad siehe Fehlermeldung) aufnehmen; Dein Curl kann sonst nicht feststellen, ob der Server auch der ist, für den er sich ausgibt.
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
w0bble
Posts: 22
Joined: 2005-11-05 18:14
 

Re: problem mit curlftpFS und ssl

Post by w0bble »

wie bekomme ich das? habe nur den ftp zugang
User avatar
daemotron
Administrator
Administrator
Posts: 2643
Joined: 2004-01-21 17:44
 

Re: problem mit curlftpFS und ssl

Post by daemotron »

Code: Select all

openssl s_client -connect host:port -showcerts
“Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying 'End-of-the-World Switch. PLEASE DO NOT TOUCH', the paint wouldn't even have time to dry.” — Terry Pratchett, Thief of Time
w0bble
Posts: 22
Joined: 2005-11-05 18:14
 

Re: problem mit curlftpFS und ssl

Post by w0bble »

danke für den hinweis, habs mit no_verify_hostname und no_verify_peer auch hinbekommen, leider wird der ftpd nicht unterstützt von curlftpfs