quarta-feira, 14 de maio de 2014

Site Bindings "cause the HTTPS binding of the other site to be unusable"

---------------------------
Site Bindings
---------------------------
The certificate associated with this binding is also assigned to another site's binding. Deleting this binding will cause the HTTPS binding of the other site to be unusable. Do you still want to continue?
---------------------------
Yes   No   Cancel  
---------------------------


------------------------------------------------------------------------------------------------------


Go-GBS2010-10-15 at 09:34:04ID: 33915157

Ok, got it working.

Deleting the binding from the applicationhost.config file worked perfectly.

The file is located in the %windir%\system32\inetsrv\config.  I just edited it with Notepad and found the following line under my website, "binding protocols=https" bindingInformation="*443:" /> and removed it.  I created a copy of the file just in case something went wrong, but so far so good.

Fonte: Experts Exchange
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_26546732.html


------------------------------------------------------------------------------------------------------


Solução:
1 new addition to this topic. We just tried to use the Microsoft.Web.Management dotnet dll found in C:\Windows\System32\inetsrv, and when we remove our https binding using this dll, it generates the same error, we have to re-enable ssl binding (just open binding, edit ssl, then choose certificate, then save). So, this dll and the IIS management console uses exactly the same code when saving the binding. We'll try to remove our binding using WMI, it may be the only solution. Because appcmd.exe is located in the same directory make us think that it will do the same error but we did not tried yet. If we remove the binding with notepad by editing directly the applicationhost.config, it works fine. We have to find a good solution other than notepad :D


Fonte: Forum IIS.NET
http://forums.iis.net/t/1149714.aspx

------------------------------------------------------------------------------------------------------

Sunday, December 15, 2013


Adding or Removing HTTPS Binding

If you are trying to delete a website that is using a wildcard ssl certificate, Or you are trying to remove ssl binding from a website via IIS, you may come across
following type of warning messages.

The certificate associated with this binding is also assigned to another site's binding. Deleting this binding will cause the HTTPS binding of the other site to be unusable. Do you still want to continue?

OR

The certificate associated with this binding is also assigned to another site's binding.  Editing this binding will cause the HTTPS binding of the other site to be unusable. Do you still want to continue?

Solution is to use command prompt to add or remove ssl binding. (Following command was tested on IIS7)

Adding Https Binding

c:\windows\System32\inetsrv>appcmd set site /site.name:"YOURWEBSITE.COM" /+bindings.[protocol='https',bindingInformation='*:443:YOURWEBSITE.COM']

Removing Https Binding

c:\windows\System32\inetsrv>appcmd set site /site.name:"YOURWEBSITE.COM" /-bindings.[protocol='https',bindingInformation='*:443:YOURWEBSITE.COM']


To view all websites/bindings type the following command

appcmd list site
Fonte: Programming Mechanics
http://ibashir.blogspot.com.br/2013/12/adding-or-removing-https-binding.html

Nenhum comentário: