Technology Insights

VSFTPD Error: GnuTLS error -9: A TLS packet with unexpected length was received.

I was tasked with configuring VSFTPD to allow SFTP or FTPES (FTP over explicit TLS/SSL) tonight for a client. The configuration already had regular FTP working which I verified using FileZilla as an FTP client. I was able to login and transfer files in both directions to and from the server. Next I verified that SFTP worked without issue and I was able to also transfer files in both directions using SFTP. For FTPES I had to make some changes and once I did make the changes I was still getting an error when attempting to do a directory listing using FileZilla. Below I describe the initial changes I made to vsftpd.conf, the errors I received attempting to connect with FTPES, and the way I resolved the problem.

Technology Errors

Litespeed: SSL error: error:0906D06C:PEM routines:PEM_read_bio:no start line

Recently when installing a second SSL certificate for a secondary IP address on a Linux server running Litespeed as the web server I received the below error. The error at first made me think that maybe the key file still required a password even though I knew I had generated the key file not requiring a pass phrase. The error below will show up in your error.log file located in /var/lsws/logs/error.log.

Technology Insights

How to Add a Secondary IP Address to a SliceHost VPS

First off you can add multiple IP’s to each SliceHost VPS. Adding the secondary IP address to a SliceHost Virtual Private Server (VPS) is easy. Open the SliceManager control panel and click the Help tab to open a support ticket. In the ticket state that you want a secondary IP, the justification for it, and that you understand it will cost $2/month. Typically support responds very quickly and will configure the secondary IP address for you.

Typical justification would be that you are running a web server and need to have multiple SSL certificates.