I have an Ubuntu 16.04.3 AWS EC2 instance running vsftpd 3.0.3. Plain FTP works just fine, but I need to enable TLS so my clients can use sftp to upload files.
I have researched this for hours, but everything I find shows how to configure a self-generated certificate. I want to use my wildcard SSL certificate that was purchased from GoDaddy. (the same one I'm using on my AWS Elastic Load Balancer).
I have the .key file, and the two .crt files that I downloaded from GoDaddy. I can't figure out how to put those three files in a format that vsftpd can understand. I get no errors from vsftpd, but when I connect using FileZilla I get this response:
Status: Connecting to <my ftp subdomain>.<my domain>.com... Status: Skipping non-existing key file "C:\Users\<some local file1>.ppk" Status: Skipping non-existing key file "C:\Users\<some local file2>.ppk" Status: Skipping non-existing key file "C:\Users\<dome local file3>.ppk" Response: fzSftp started, protocol_version=8 Command: open "<username>@<my ftp subdomain>.<my domain>.com" 22 Error: Disconnected: No supported authentication methods available (server sent: publickey) Error: Could not connect to server
I have already confirmed that port 22 is open in the firewall.
BTW, my ultimate goal is for clients to connect without getting any sort of "do you trust this certificate" message during their first connection. Please tell me if I'm on the wrong track.