How can I use PFX(PKCS#12) format SSL certificate as client certificate with TurboFTP?

Article Details
URL: https://www.tbsoftinc.com/support/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=147
Article ID: 147
Created On: 01 Jul 2012 03:47 PM

Answer TurboFTP supports client certificate when connecting to an FTPS (FTP over SSL) server. However TurboFTP currently only supports SSL certificate and private key in PEM format. Some users might be only given PFX (PKCS#12) format certificates. For example, when exporting a certificate from the Windows certificate store, you will only get the exported certificate in PFX (PKCS#12) format.

To convert certificate in PFX format to PEM format, we can use OpenSSL's command line tool 'openssl':

openssl.exe pkcs12 -in your_cert.pfx -out your_cert.pem -nodes


Then put the full path of the file 'your_cert.pem' into the public key and private key fields in Site Settings | Security tab.

You are now ready to connect to the FTPS server.

If you want the output PEM file to be encrypted, remove option '-nodes'.

NOTE: Starting from V 6.30 Build 948, TurboFTP is able to use PFX format certificates.