Create a secure way to transfer files to your network from wherever you are from your Android phone, like uploading photo’s directly to your server at home. Much faster then connecting your phone to the laptop.
This short guide is showing you how to create a key to use with a FTPS server (explicit FFTP over TLS/SSL). First you have install an FTP server as describbed.. I use Freenas7 because it’s so divers. Install AndFTP on your phone.
Create a key on a linux prompt:
# openssl genrsa -out privkey.pem 1024
# openssl req -new -key privkey.pem -out certreq.csr
# openssl x509 =req -days 3650 -in certreq.csr -signkey privkey.pem -out newcert.pem
# cat privkey.pem
Put the privkey into the Freenas FTP Service tab field “Private Key”
# cat newcert.pem
Put the cert key in the Freenas FTP Service tab field “Certificate”
Copy the newcert.pem to your phone. Configure AndFTP to use the certificate. Make sure you select FTPS (explicit FFTP over TLS/SSL) as the server AndFTP is connecting to.