VS2017 RC Web deploy - ERROR_CERTIFICATE_VALIDATION_FAILED
<p>First, I upgraded my ASP.NET Core project to 1.1.0. That wasn't smooth at all. Now, when it works, I can't deploy it!</p>

<p>I deploy it to IIS (Windows Server 2012 R2) and I get the error saying</p>

<blockquote>
  <blockquote>
    <p>can't validate the certificate ... ERROR_CERTIFICATE_VALIDATION_FAILED!</p>
  </blockquote>
</blockquote>

<p>I added this to my publishing profile:</p>

<p><code>
&lt;AllowUntrustedCertificate&gt;True&lt;/AllowUntrustedCertificate&gt;
</code></p>

<p>but that doesn't work in <strong>VS2017 RC</strong>. So, how can I deploy now?
Why you guys do not provide it from a start? This is an essential operation!</p>