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!
I deploy it to IIS (Windows Server 2012 R2) and I get the error saying
can't validate the certificate ... ERROR_CERTIFICATE_VALIDATION_FAILED!
I added this to my publishing profile:
<AllowUntrustedCertificate>True</AllowUntrustedCertificate>
but that doesn't work in VS2017 RC. So, how can I deploy now? Why you guys do not provide it from a start? This is an essential operation!
The issue also appears when you are using wrong credentials: and\or stored password. To check this add into the pubxml file the following line:
<UseMsdeployExe>True</UseMsdeployExe>
this will switch from VSMSDeploy to MSDeploy - it got you more verbose with errors. If you store your password just remove the .pubxml.user file stored near .pubxml file and in Publish setting add the password once more.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With