Perforce doesn't work on 4.11. SSL error

In 4.11 when I try connect to Perforce I see following error:

LogSourceControl:Error: P4ERROR: Invalid connection to server.
LogSourceControl:Error: Connect to server failed; check $P4PORT.
Failed client SSL connection setup, server not using SSL.

In 4.10 it doesn’t happen…

Are you trying to connect via the editor or visual studio?

Via Editor. In Visual Studio it works good. It looks like 4.11 Preview is missing this commit from 4.10.1:

This was recently fixed in the 4.11 branch so should hit the next preview release.