Topic "Client Certificates"

Author Message
[View user's profile]

Joined: 2016-01-14
Posts: 2
Location: Netherlands

I really like the .net assembly Rolling Eyes
one question though..
It seems not possible to add a client certificate to the session as there is no member/property available.

How can I add a client certificate to the .sessionoptions (via powershell) ?

We are using Version of the .net assembly.
string TlsClientCertificatePath
Full path to TLS/SSL client certificate.

TypeName: WinSCP.SessionOptions

Name MemberType Definition
---- ---------- ----------
AddRawSettings Method void AddRawSettings(string setting, string value)
Equals Method bool Equals(System.Object obj)
GetHashCode Method int GetHashCode()
GetType Method type GetType()
ParseUrl Method void ParseUrl(string url)
ToString Method string ToString()
FtpMode Property WinSCP.FtpMode FtpMode {get;set;}
FtpSecure Property WinSCP.FtpSecure FtpSecure {get;set;}
GiveUpSecurityAndAcceptAnySshHostKey Property bool GiveUpSecurityAndAcceptAnySshHostKey {get;set;}
GiveUpSecurityAndAcceptAnyTlsHostCertificate Property bool GiveUpSecurityAndAcceptAnyTlsHostCertificate {get;set;}
HostName Property string HostName {get;set;}
Password Property string Password {get;set;}
PortNumber Property int PortNumber {get;set;}
Protocol Property WinSCP.Protocol Protocol {get;set;}
SecurePassword Property securestring SecurePassword {get;set;}
SshHostKeyFingerprint Property string SshHostKeyFingerprint {get;set;}
SshPrivateKeyPassphrase Property string SshPrivateKeyPassphrase {get;set;}
SshPrivateKeyPath Property string SshPrivateKeyPath {get;set;}
Timeout Property timespan Timeout {get;set;}
TimeoutInMilliseconds Property int TimeoutInMilliseconds {get;set;}
TlsHostCertificateFingerprint Property string TlsHostCertificateFingerprint {get;set;}
UserName Property string UserName {get;set;}
WebdavRoot Property string WebdavRoot {get;set;}
WebdavSecure Property bool WebdavSecure {get;set;} Question Question Question
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
The client certificates are supported in 5.8.x beta only.

I've updated the documentation to make this clear.
[View user's profile]

Joined: 2016-01-14
Posts: 2
Location: Netherlands

Thanks for clearing that out.
Will test the beta and report if we see any flaws/bugs Neutral

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License