Topic "peer certificate rejected exceptio"

Author Message
terrence

Guest


HI,
I installed 5.0 beta Winscp and reference Winscp.dll use C# code , but I can't connect to server successful.Throw exception --> WInSCP.sessionRemoteException:peer certificate rejected .
What's problme, Who can help me
Advertisements
sangeethu

Guest


Even I am facing the same problem. Please let me know whether you resolved this issue.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Make sure you set SessionOptions.SslCertificate (renamed to TlsHostCertificateFingerprint is the later versions) to accept the untrusted certificate:
http://winscp.net/eng/docs/library_sessionoptions
MrRanger

Guest


What Value would you set it to in order to accept the untrusted certificate
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
MrRanger wrote:
What Value would you set it to in order to accept the untrusted certificate

Fingerprint of the untrusted certificate.
_________________
Martin Prikryl
MasieroR

Guest


Hi,
I've the same problem.
I set the SessionOptions.SslHostCertificateFingerprint with the fingerprint of the untrusted certificate, but when I try to open the session, the application freeze and I've to kill the app.

Thank you.
MasieroR

Guest


Installing the latest version (5.1) the problem does not recur.
Thank you.
Suganya

Guest


When i try to establish a connection using FTP, i am encountering the following error,
"Peer Certificate Rejected , Disconnected from server , Connection Failed"
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Suganya wrote:
When i try to establish a connection using FTP, i am encountering the following error,
"Peer Certificate Rejected , Disconnected from server , Connection Failed"

Please start anew topic and attach a full log file showing the problem (using the latest version of WinSCP).

To generate log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you may email it to me. You will find my address (if you log in) in my forum profile. Please include link back to this topic in your email. Also note in this topic that you have emailed the log.
_________________
Martin Prikryl
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