Topic "Option to disable TLS/SSL certificate check (commonName)"

Author Message
dde

Guest


I'm trying to use WinSCP in a development environment (e.g. to test webdav over TLS), where I do not have certificates with valid IP addresses or DNS names.

I'm now getting the following error message, when I'm trying to connect to a Webdav Server over TLS/SSL:
SSL certificate checks failed: Server certificate was missing commonName attribute in subject name

I would like to optionally ignore this failure and still continue to establish the connection. Or to set a checkmark under Advanced->Connection->TLS/SSL to ignore commonName mismatches.

WinSCP version: 5.6.1
Windows 10 x64

Greetings,
Daniel
trace.txt (3.19 KB) [Download]

Description: SSL failure

martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
You can set SessionOptions.GiveUpSecurityAndAcceptAnyTlsHostCertificate to bypass the certificate check.
See https://winscp.net/eng/docs/library_sessionoptions
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