Discuss (FTP) and (SFTP, FTPS and SCP), our Java file transfer clients.
no avatar
User

sabyasachi323

Posts

4

Joined

Fri Aug 08, 2008 12:29 am

Strange Error -- Bad encoding: wrong tag

by sabyasachi323 » Fri Apr 03, 2009 1:29 am

Hi,

On a working system, we are suddenly encountering this error:

com.enterprisedt.net.puretls.cert.CertificateDecodeException: java.io.IOException: Bad encoding: wrong tag
at com.enterprisedt.net.puretls.i.G(Unknown Source)
at com.enterprisedt.net.puretls.SSLSocket.handshake(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPControlSocket.E(Unknown Source)
at com.enterprisedt.net.ftp.ssl.SSLFTPClient.auth(Unknown Source)

Please advice as what aspect needs to be looked into to solve the problem.
Thank you in advance.

Regards,
Sabyasachi..
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Strange Error -- Bad encoding: wrong tag

by support2 » Fri Apr 03, 2009 7:30 am

Could you create a log file, zip it up and email it to us? support at enterprisedt dot com

Enable logging by:

Logger.setLevel(Level.ALL);
Logger.addAppender(new FileAppender("mylog.txt"));

Set the system properties as below:

edtftp.log.puretls.level=65535

If you also are able to get a copy of the certificate and email it that would be very useful.

Who is online

Users browsing this forum: No registered users and 18 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign