Implementation of VS2017 RC Web - ERROR_CERTIFICATE_VALIDATION_FAILED

First, I upgraded the ASP.NET Core project to version 1.1.0. It was not quite smooth. Now that it works, I can’t deploy it!

I am deploying it in IIS (Windows Server 2012 R2) and I get an error

cannot confirm certificate ... ERROR_CERTIFICATE_VALIDATION_FAILED!

I added this to my publication profile:

<AllowUntrustedCertificate>True</AllowUntrustedCertificate>

but this does not work in VS2017 RC . So how can I deploy now? Why don't you guys give it from the start? This is an important operation!

+4
source share
3 answers

The same thing here. Solved by creating a new publication profile.

+3
source

TL; DR

, , VS 2015. , , . VS 2015 .

. , AllowTrustedCertificate true, , .

:

, Core 1.1, Windows 7, Windows Server 2012 R2 Web Deploy IIS.

Visual Studio 2015, , <AllowUntrustedCertificate>true</AllowUntrustedCertificate> <UserName>domain\user.name</UserName> pubxml. Visual Studio 2017 CE . . TL;DR .

, . , , .

+1

, : \ . , pubxml :

<UseMsdeployExe>True</UseMsdeployExe>

VSMSDeploy MSDeploy - . , .pubxml.user, .pubxml, .

0
source

Source: https://habr.com/ru/post/1664075/


All Articles