且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

VS2017 RC Web部署-ERROR_CERTIFICATE_VALIDATION_FAILED

更新时间:2023-02-25 20:20:01

当您使用错误的凭据和/或存储的密码时,也会出现此问题.要检查这一点,请将以下行添加到pubxml文件中:

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>

这将从VSMSDeploy切换到MSDeploy-它使您更加冗长且出现错误. 如果您存储密码,只需删除存储在.pubxml文件附近的.pubxml.user文件,然后在发布"设置中再次添加密码即可.

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.