I just downloaded the trial version of edtFTPj. I'm trying to run the example java apps, but the app fails at the AUTH step.
I know the public certificate is correct because it works with other cleints (lftp, kermit).
Is there some other configuration I need to do to get this app to work?
The commands and logs are below.
Thanks
Leon
$ javac -classpath ".:../../lib/edtftpj-ssl.jar:../../lib/license.jar" ServerValidatingClient.java
$ java -cp ".:../../lib/edtftpj-ssl.jar:../../lib/license.jar" ServerValidatingClient remote.ftp.server username password public-cert.txt
INFO [ServerValidatingClient] 18 Feb 2005 18:27:33.616 : Creating FTPS (explicit) client
INFO [com.enterprisedt.net.ftp.ssl.SSLFTPClient] 18 Feb 2005 18:27:34.902 : Licence expiry date: 31 Mar 2005
INFO [com.enterprisedt.net.ftp.ssl.SSLFTPClient] 18 Feb 2005 18:27:34.902 : Trial licence
INFO [puretls] 18 Feb 2005 18:27:35.296 : PureTLS debug level=0
INFO [ServerValidatingClient] 18 Feb 2005 18:27:35.337 : Loading server certificate from public-cert.txt
INFO [ServerValidatingClient] 18 Feb 2005 18:27:35.403 : Connecting to server remote.ftp.server
INFO [ServerValidatingClient] 18 Feb 2005 18:27:35.995 : Switching to FTPS (explicit mode)
INFO [cryptix] 18 Feb 2005 18:27:36.350 : GLOBAL_TRACE=false
INFO [cryptix] 18 Feb 2005 18:27:36.350 : GLOBAL_DEBUG=false
INFO [cryptix] 18 Feb 2005 18:27:36.351 : GLOBAL_DEBUG_SLOW=false
com.enterprisedt.net.puretls.SSLThrewAlertException: Bad certificate
at com.enterprisedt.net.puretls.SSLConn.alert(SSLConn.java:200)
at com.enterprisedt.net.puretls.SSLHandshake.recvCertificate(SSLHandshake.java:287)
at com.enterprisedt.net.puretls.SSLHandshakeClient.handshakeContinue(SSLHandshakeClient.java:116)
at com.enterprisedt.net.puretls.SSLHandshake.handshake(SSLHandshake.java:125)
at com.enterprisedt.net.puretls.SSLConn.handshake(SSLConn.java:143)
at com.enterprisedt.net.puretls.SSLSocket.handshake(SSLSocket.java:437)
at com.enterprisedt.net.ftp.ssl.B.G(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(Unknown Source)
at ServerValidatingClient.main(ServerValidatingClient.java:72)