vSphere 6.5

Create Secure FTPS server for VMware VCSA 6.5 Backups

A look at how to Create Secure FTPS server for VMware VCSA 6.5 Backups using FileZilla server to create a certificate and enable the FTPS connection in VAMI

We have covered in detail how to in general provision an FTP server using FileZilla for the purposes of targeting for our VCSA 6.5 backups.ย  However, to take this a step further, what if you want to secure the backup of your VCSA 6.5 appliance by using a secure FTP process?ย  To do that, we can still use FileZilla and create secure FTPS server for VMware VCSA 6.5 Backups so our backups from the VCSA appliance are secure “in flight” as they go across the wire.ย  Let’s see how to implement this configuration on our FileZilla server.

Secure FTPS and not SFTP

Update 10.30.2017ย – Please note here we are describing creating a “secure” FTPS server which is a different technology than SFTP or “Secure File Transfer Protocol” as pointed out by @JonKensy.ย  A great description as noted by @paulbrarenย is found here.ย  At this time, VMware VCSA backups do not support SFTP and only support FTPS.ย  SFTP definitely has advantages when it comes to the network ports that are used for communication as mentioned in the linked post.ย  Hopefully this may appear as an option in a future VCSA release.

Create Secure FTPS server for VMware VCSA 6.5 Backups

The process is very similar to simply creating an FTP server.ย  Actually, we only need a couple of additional steps including creating a certificate on our FileZilla server and disable plain unencrypted FTP.ย  To setup the certificate in FileZilla, we go toย Edit >> Settings

Edit-the-settings-of-the-FileZilla-server
Edit the settings of the FileZilla server

We have several areas of interest on theย FTP over TLS settings configuration screen.ย  Notice theย Enable FTP over TLS support (FTPS)ย checkbox as well as theย Generate new certificate… button.

FTP-over-TLS-settings-and-certificate-configuration
FTP over TLS settings and certificate configuration

Once we check theย Enable FTP over TLS support (FTPS)ย checkbox enabled, we can check the box toย Disallow plain unencrypted FTPย as well which is what we want to do to make things more secure.

Disallow-plain-unencrypted-FTP
Disallow plain unencrypted FTP

When we click theย Generate new certificate button, we are prompted with the familiar certificate information to be filled out.ย  When we click theย Generate certificate button, the certificate is generated for the FTPS connection.

Generate-a-self-signed-certificate-for-the-FileZilla-server
Generate a self signed certificate for the FileZilla server

We will get a pop up box “Certificate generated successfully”.

Certificate-is-generated-successfully
Certificate is generated successfully

Our screen should look like the following with the certificate in place and we are disallowing plain unencrypted FTP communication.

Certificate-created-and-options-set-for-FTPS
Certificate created and options set for FTPS

Backing up VMware VCSA 6.5 with FTPS

Now we can login to our VMware VCSA 6.5 VAMI interface and begin the backup process.ย  Now we can select theย FTPS option.ย  Point the connection to your FTPS server that was just setup, port 21, and use the user/pass combination you configured for the VCSA backup process.

Change-VCSA-6.5-backup-to-use-FTPS
Certificate created and options set for FTPS

Also, we can choose theย Encrypt Backup Data checkbox which encrypts the backup files themselves (at rest).ย  Effectively, now that we are using FTPS, we are encrypting the data “in flight” and with encrypting our backup data, we will be encrypting at rest as well, so the process overall is much more secure.

In-flight-and-at-rest-encryption-of-VCSA-6.5-backups
In flight and at rest encryption of VCSA 6.5 backups

After we clickย Next, we shouldn’t see any errors if the FTPS connection is configured properly and we will see the process begin retrieving backup sizes for the various components.

VCSA-6.5-backp-proceeds-without-error
VCSA 6.5 backup proceeds without error

Thoughts

Security should be on the forefront of all our minds in this day and time.ย  Backups of all kinds are often overlooked when it comes to securing data.ย  Really, backups are an exact copy of production data and should be secured as is production.ย  Securing data “in flight” and “at rest” ensures that we have encrypted the data both as it traverses the network as well as when it is at rest in a cold state on a hard drive, backup repository, etc.ย  It is easy to setup the FTPS connection in FileZilla to Create Secure FTPS server for VMware VCSA 6.5 Backups.ย  Hopefully, this quick run through will help anyone configure the FTPS connection for setting up with VAMI.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.