Web deploy not asking to allow untrusted certificate - by Alexandre Martins

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 773410 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 12/4/2012 5:50:43 AM
Access Restriction Public


Since I update to VS 2012 update 1, webdeploy is not more asking to allow untrusted certificates.
Sign in to post a comment.
Posted by Sayed [MSFT] on 3/13/2013 at 10:05 PM
It's been a while and we haven't heard back from you. I will close this item at this time. If you do get a chance to come back to this please re-open this.

Sayed Ibrahim Hashimi
Posted by Sayed [MSFT] on 1/9/2013 at 10:01 AM
Alexandre Martins, I misunderstood the bug. I see that you are stating that this is after VS Update 1. Is it possible that you selected the checkbox to save the certificate?

You can check the certificate store to see if there are any certificates and remove them. You can visit http://windows.microsoft.com/en-US/windows-vista/View-or-manage-your-certificates for instruction on how to open the certificate manager. I've attached a screen shot of where the certificates are being stored. Can you let me know if there are any certificates in either list?

Sayed Ibrahim Hashimi | http://msbuildbook.com
Posted by Sayed [MSFT] on 1/6/2013 at 5:00 PM
The Allow Untrusted Certificate checkbox has been removed from the publish dialog. We now have specific handling for untrusted certificates. When you publish for the first time to a server you should be prompted to allow the usage of the untrusted certificate.

On that dialog there is a checkbox to remember that particular certificate. Are you sure you didn't check that during a previous publish? Could you try publishing to the same server from a machine which you have never published to?

FYI if you are receiving this error during a command line publish and you simply want to bypass it you can pass in the MSBuild property /p:AllowUntrustedCertificate=true.

Sayed Ibrahim Hashimi | http://msbuildbook.com
Posted by Ravi Selvaraj on 12/21/2012 at 11:50 AM
I'm also unable to find the "Allow untrusted certificate" checkbox on the publish UI window. Getting the below error:

Web deployment task failed. (Connected to the remote computer ("xxxxxxxxxxx.com") using the specified process ("Web Management Service"), but could not verify the server’s certificate. If you trust the server, connect again and allow untrusted certificates. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CERTIFICATE_VALIDATION_FAILED.)
Posted by Microsoft on 12/4/2012 at 10:25 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 12/4/2012 at 6:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)