Visual studio 2015 exception: Connected to the…. but could not verify the server’s certificate. If you trust the server, connect again and allow untrusted certificates

Since last some days, I have observed that some people are seeing some errors while publishing the MVC6 project from Visual Studio 2015 so, I decided to write a post with the solution. So generally people get below error while publishing: ERROR_CERTIFICATE_VALIDATION_FAILED Connected to the remote computer ("XXXXXXXXX") using the specified process ("Web Management Service"), but … Continue reading Visual studio 2015 exception: Connected to the…. but could not verify the server’s certificate. If you trust the server, connect again and allow untrusted certificates