Subject: FTPS Connection with Public and Private Key
Date: 2021-04-29 16:22:59
From: pleeccl
Source: ftps-connection-public-private-key
----------------------------------------------------------------------

I'm testing the UltimateFTP Library using FTPS (FTP over SSH/TLS) to connect to a server. I'm able to establish connection and load the public certificate but the connection also requires a private certificate. How do I load a private certificate with the connection? I'm currently handling the event FTP.CertificateRequired to load the public certificate.

The exception I'm getting is below.

    ComponentPro.Net.TlsException: 'Certificate does not have a private key.'

----------------------------------------------------------------------

Note: This question has been asked on the Q&A forum of Thang Dang's fraudulent ComponentPro brand
If you purchased anything from ComponentPro, you have been scammed. Contact the payment processor
who sold you the license and ask for your money back.

Back to ComponentPro Q&A Forum Index