Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can no longer ignore certificate errors during publishing in VS2012

I've been using the MSDeploy publishing service from Visual Studio to publish my projects. The publishing URL is https://machinename.domain.com:8172/MsDeploy.axd. It worked fine in VS2010 -- I was able to check a checkbox that said ignore certificate errors. That box is no longer shown in VS 2012. I found a post indicating that I'm supposed to get prompted about whether to ignore certificate errors -- but I'm not and I can no longer publish my project. Any ideas?

like image 653
Howard Pinsley Avatar asked Feb 17 '23 15:02

Howard Pinsley


1 Answers

Open your publish profile from /Properties/PublishProfiles/<Profile>.pubxml and add the following line within the PropertyGroup element:

<AllowUntrustedCertificate>True</AllowUntrustedCertificate>
like image 69
Richard Szalay Avatar answered Apr 26 '23 10:04

Richard Szalay