Topic "install client cert?"

Author Message
EF

Guest


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?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
The client certificate support is not released yet:
https://winscp.net/tracker/show_bug.cgi?id=921
ftpuser
[View user's profile]

Joined: 2015-09-18
Posts: 2
When will this functionality be released as I see from the bug tracker it is implemented and in release 5.8
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
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.
astronaute
[View user's profile]

Joined: 2015-10-08
Posts: 1
Hi prikryl,

Can you please give me the development build, I would like to get rid of Bitkinex Smile

Thank you !
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
astronaute wrote:
Can you please give me the development build, I would like to get rid of Bitkinex Smile

Sent.
robertb
[View user's profile]

Joined: 2015-11-18
Posts: 3
Location: Montana
Is this available yet?
robertb
[View user's profile]

Joined: 2015-11-18
Posts: 3
Location: Montana
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
robertb wrote:
Have the same issue. Please help.

It was not released yet. I've sent you a dev build.
RobHeffo

Guest


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
RobHeffo
[View user's profile]

Joined: 2015-11-23
Posts: 2
Location: Albury, Australia
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!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Sent.
finist
[View user's profile]

Joined: 2015-12-08
Posts: 1
Could you kindly send me a copy of the DEV build with Certificate support too?
Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Sent.
Sujeet
[View user's profile]

Joined: 2015-08-05
Posts: 7
Location: Pune, India
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
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
Sujeet
[View user's profile]

Joined: 2015-08-05
Posts: 7
Location: Pune, India
prikryl 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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
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
Sujeet
[View user's profile]

Joined: 2015-08-05
Posts: 7
Location: Pune, India
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.
Sujeet
[View user's profile]

Joined: 2015-08-05
Posts: 7
Location: Pune, India
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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
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.
RobHeffo
[View user's profile]

Joined: 2015-11-23
Posts: 2
Location: Albury, Australia
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?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
The .ppk file is not FTP TLS client client certificate, it's SSH/SFTP private key file. Use SessionOptions.SshPrivateKeyPath.
Onur

Guest


Hi,

Have you published any example powershell code for this please?

Regards,
Onur
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Onur wrote:
Have you published any example powershell code for this please?

Use Generate Code function of the latest beta version:
https://winscp.net/eng/docs/ui_generateurl#code
Guest




Hi,

Thanks a lot, it rocks Mr. Green

Regards,
Onur
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License