Home Dashboard Directory Help
Search

Web deploy not asking to allow untrusted certificate by Alexandre Martins


Status: 

Closed
 as Not Reproducible Help for as Not Reproducible


3
0
Sign in
to vote
Type: Bug
ID: 773410
Opened: 12/4/2012 5:50:43 AM
Access Restriction: Public
1
Workaround(s)
view
1
User(s) can reproduce this bug

Description

Since I update to VS 2012 update 1, webdeploy is not more asking to allow untrusted certificates.
Details
Sign in to post a comment.
Posted by Microsoft 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 Microsoft 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 Microsoft 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.

Thanks,
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)
Sign in to post a workaround.
Posted by Ravi Selvaraj on 12/27/2012 at 9:11 AM
In the service URL, type the full base url as http://xxxxxxxxxxxxx.com (not the only xxxxxxxxxxxxx.com suggested by the textbox watermark).
Once the http:// is added I was able to publish successfully.

Thanks,

Ravi Selvaraj
File Name Submitted By Submitted On File Size  
certficates.png 1/9/2013 16 KB