SFTP using X.509 and .NET

This forum is not monitored by the SmartFTP staff. If you have a license please contact technical support by email.
Post Reply
montemj
Posts: 2
Joined: Fri Feb 06, 2015 9:01 pm

SFTP using X.509 and .NET

Post by montemj » Fri Feb 06, 2015 9:21 pm

I have a client that is using Tectia SSH and I am sending data over SFTP. However they require authentication via a X.509 privatekey/certificate. I have one I can use, but I'm not sure how to go about using the SmartFTP library to facility this.
 
Is it as easy as manually exporting the private key from the Windows Certificate store and loading from a file it in code? I have connected to other SFTP servers that use SSH Private/Public Keys fine using this method.
 
I haven't seen any samples that specifically address the usage of a X.509 privatekey/certificate.
 
Any help would be appreciated.
Last edited by montemj on Fri Feb 06, 2015 9:22 pm, edited 1 time in total.

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP using X.509 and .NET

Post by mb » Sun Feb 08, 2015 1:36 pm

You can directly use the private key/certificate that is stored in the certificate store. Please contact support on how to set this up.
Last edited by mb on Sun Feb 08, 2015 1:37 pm, edited 1 time in total.

montemj
Posts: 2
Joined: Fri Feb 06, 2015 9:01 pm

Re: SFTP using X.509 and .NET

Post by montemj » Mon Feb 09, 2015 3:32 pm

Thanks for replying.
 
How exactly do you contact support with just a Smart FTP Library license? Everything tells me to download the client and go to support option. When I do that it takes me to a page saying I need to have a license.
 
V/R
Michael Monte

mb
Posts: 12030
Joined: Thu Oct 11, 2001 1:24 pm
Display name: Mat (SmartFTP)
Contact:

Re: SFTP using X.509 and .NET

Post by mb » Wed Feb 11, 2015 8:29 pm

You can contact support at smartftp.com and then provide your license/serial.

Post Reply