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.
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?
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?