Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: ScanFingerprint does not work with a server requiring a Client Certificate

Thanks for your report.
I have sent you an email with a debug version of WinSCP to the address you have used to register on this forum.
ngelotte

ScanFingerprint does not work with a server requiring a Client Certificate

I am trying to use ScanFingerprint in C# code to allow for the annual situation when the remote server changes it's certificate and a user needs to confirm the change. However, When I try and use ScanFingerprint with the basic session options as described in the help docs I get this error.
WinSCP.SessionRemoteException
HResult=0x80131500
Message=Connection failed.
Server asks for authentication with a client certificate.
SSL3 alert read: fatal: bad certificate
TLS connect: failed in SSLv3 read finished A
sslv3 alert bad certificate
Can't establish TLS connection
Disconnected from server
Connection failed.



I also tried it with the full session options including the client certificate that I normal use to connect but that has the same error. Is there a way to Use ScanFingerprint when the server requires a client certificate?