install client cert?

Advertisement

EF
Guest

install client cert?

Communicating over ftps with a bank - they require ftps with username and password, plus require installing a x509 cert on the client (they provide this cert). Can't find anywhere in WinSCP to install certs or assign cert for use with a specific ftp site. Is this possible?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Sorry, we do not give any dates. It will take a few weeks definitely.

We can provide you a development build for testing, if you are interested.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

astronaute wrote:

Can you please give me the development build, I would like to get rid of Bitkinex :)
Sent.

Reply with quote

robertb
Joined:
Posts:
3
Location:
Montana

Re: install client cert?

EF wrote:

Communicating over ftps with a bank - they require ftps with username and password, plus require installing a x509 cert on the client (they provide this cert). Can't find anywhere in WinSCP to install certs or assign cert for use with a specific ftp site. Is this possible?

Have the same issue. Please help.

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: install client cert?

robertb wrote:

Have the same issue. Please help.
It was not released yet. I've sent you a dev build.

Reply with quote

Advertisement

RobHeffo
Guest

Dev Build Request

Hello,

May I also please request a copy of the DEV build with Certificate support. I also have a requirement for this feature.

Thanks!
Robert Heffernan

Reply with quote

RobHeffo
Joined:
Posts:
2
Location:
Albury, Australia

Re: Dev Build Request

RobHeffo wrote:

Hello,

May I also please request a copy of the DEV build with Certificate support. I also have a requirement for this feature.

Thanks!
Robert Heffernan

Sorry! Forgot to login!

Reply with quote

Advertisement

Sujeet
Joined:
Posts:
7
Location:
Pune, India

Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Hi prikryl,

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.

Thanks,
Sujeet

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.
Please download WinSCP 5.8 beta
https://winscp.net/eng/download.php

Reply with quote

Sujeet
Joined:
Posts:
7
Location:
Pune, India

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

martin wrote:

Sujeet wrote:

We want to attach client certificate with WinSCP for file uploading because client network do not allow anything to go out without that client certificate.

Could you please help us or let us know if you have released the newer version of WinSCP which supports client certificate.
Please download WinSCP 5.8 beta
https://winscp.net/eng/download.php

Thanks prikryl.

Do you have any sample code with you for how to attach the certificate with WinSCP session.

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Do you have any sample code with you for how to attach the certificate with WinSCP session.
Use SessionOptions.TlsClientCertificatePath.

The property will be documented shortly on:
https://winscp.net/eng/docs/library_sessionoptions

Reply with quote

Sujeet
Joined:
Posts:
7
Location:
Pune, India

Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Thanks prikryl, but I am not able to find given property "TlsClientCertificatePath" with WinSCP576automation.

However is there any way to attach certificate directly as we don't have path of certificate with us, we have to pick installed cert by its name provided from machine. We do attach the same to web reference like "WebServRef.ClientCertificates.Add(cert)" where cert is the X509Certificate object.

Could you please help us for this.

Thanks.

Reply with quote E-mail

Sujeet
Joined:
Posts:
7
Location:
Pune, India

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Thanks prikryl, but I am not able to find given property "TlsClientCertificatePath" with WinSCP576automation.

However is there any way to attach certificate directly as we don't have path of certificate with us, we have to pick installed cert by its name provided from machine. We do attach the same to web reference like "WebServRef.ClientCertificates.Add(cert)" where cert is the X509Certificate object.

Could you please help us for this.

Thanks.

My Bad...
Found given property in WinSCP 5.8 Beta.

Could you please help me with my another query, is there any way to pass/attach certificate by object and not by path.

Reply with quote E-mail

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Want to use x509 client certificate while upload/download files win WinSCP from client network in c#

Sujeet wrote:

Could you please help me with my another query, is there any way to pass/attach certificate by object and not by path.
No, this is not supported.

Reply with quote

Advertisement

RobHeffo
Joined:
Posts:
2
Location:
Albury, Australia

Argument Exception

Hi, I am finally getting around to trying to use this code and am getting the following error...



The code I am using to create the session options is....




I can't see what is wrong here. The TLS Client Certificate is a PPK file, the host key is copied from WinSCP

Any suggestions?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,762
Location:
Prague, Czechia

Re: Argument Exception

The .ppk file is not FTP TLS client client certificate, it's SSH/SFTP private key file. Use SessionOptions.SshPrivateKeyPath.

Reply with quote

Onur
Guest

FileTransfer using WinSCP to/from Windows site which use FTP SSL(TLSv1)

Hi,

Have you published any example powershell code for this please?

Regards,
Onur

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum