“Heaven is under our feet
as well as over our heads.”

GnuTLS error -12: A TLS fatal alert has been received

Posted by Alessandro on Feb 22, 2012 12:32:04 PM
Filed under Security | Comments (0)

Average: 0/100 (0 ratings)

Last week I was trying to connect to my FTP server after I rebooted the server machine and after a lot of time I didn't connect to it.

Normally, I use Filezilla FTP client to connect to FTP servers, and I'm running the version 3.5.3 under Windows.

On my own server I run VSFTPD under Linux and I've enabled FTPES (Explicit TLS/SSL) connections. All the times I connected before it connected without problems and after the connection was established I was only prompted for accepting my self-signed SSL X.509 certificate (if it was not saved into Filezilla certificates cache).

That day it disconnected and the bad error I received was:

GnuTLS error -12: A TLS fatal alert has been received

I googled a little about it and I didn't find anything useful. So I started thinking things such as VSFTPD was damaged, so I tried to reinstall it, but without any changes. Then I thought it could depend on the certificate that was expired, so I generated a new SSL certificate, but that wasn't the solution again...

Finally, I tried to check my VSFTPD configuration, without noticing any errors. I really didn't know where to start again...

So I gave up for that day and I tried again the following day: I used another computer, where I had Filezilla 3.5.2. I tried connecting again, to copy the error again and googleing again to find a solution.

But this time it worked like a charm... so I tried to upgrade my Filezilla client and the error was again there: my efforts started to lead to some result! I finally found in the official Filezilla documentation that it was an error due to a different cipher suite supported by the new version of Filezilla that doesn't match the one used by VSFTPD. So, the easy solution was to add the

Code:

  1. ssl_ciphers=HIGH

directive to the vsftpd.conf file, saving it and restarting the vsftpd daemon:

Code:

  1. $ sudo restart vsftpd

Now I can happily connect again to my FTP server with FTPES connections using my updated Filezilla client version! ::happy::

Back to top

0 comments

No comments available: add yours!

Login or register to add a comment (registered users only)

Back to top

Site search
Are you a member?

Lost your password?

Register

ubuntu kernel panic not syncing vfs unable to mount root fs on unknown-block

Posted by Alessandro on Feb 23, 2012 11:57:47 AM
Filed under Networking | Comments (0)

ubuntu kernel panic not syncing vfs unable to mount root fs on unknown-block!! Help! :-) The last time I tried to reboot one of my Ubuntu Server (10.04 LTS) machines I received this message and the boot process simply did not continue. I hate rebo[…]

Read more

Pacchetto di traduzioni in Italiano di Magento

Posted by Alessandro on Feb 22, 2012 1:03:16 PM
Filed under Magento | Comments (0)

Chi di voi è abituato a passare molto tempo installando/configurando/personalizzando Magento saprà che si tratta di un'ottima piattaforma per realizzare siti e-commerce di elevata qualità. Però, per chi è un po' all[…]

Read more

GnuTLS error -12: A TLS fatal alert has been received

Posted by Alessandro on Feb 22, 2012 12:32:04 PM
Filed under Security | Comments (0)

Last week I was trying to connect to my FTP server after I rebooted the server machine and after a lot of time I didn't connect to it. Normally, I use Filezilla FTP client to connect to FTP servers, and I'm running the version 3.5.3 under Windows. […]

Read more

Web applications security: just a matter of quality

Posted by Alessandro on Oct 5, 2011 2:03:08 PM
Filed under Security | Comments (0)

I'm writing this article to warn all those people that think to pay less for developing their own websites. I'm referring, as usual, to my own experience, but I think that the problem could be encountered in a quite high percentage of web applicat[…]

Read more

Ma alla fine che cosa ha un senso?

Posted by Alessandro on Sep 28, 2011 4:58:29 PM
Filed under generic | Comments (0)

Torno a scrivere sul mio blog dopo un periodo di assenza un po' forzata (causa vacanze estive ed impegni vari intercorsi nel frattempo e successivamente) e un po' causata dalla poca voglia (lo ammetto!), dato che in questo periodo sono molto stanco. […]

Read more

Paypal Donate Button