wsp-10188 Issue with SSL after IP Switching

This commit is contained in:
robvde 2013-08-04 08:22:01 +04:00
parent 24c886f7f7
commit 8100db2e4f

View file

@ -4186,7 +4186,8 @@ Please ensure the space has been allocated {0} IP address as a dedicated one and
IPAddressInfo ip = ServerController.GetIPAddress(item.SiteIPAddressId);
if (ip != null)
item.SiteIPAddress = !String.IsNullOrEmpty(ip.InternalIP) ? ip.InternalIP : ip.ExternalIP;
//item.SiteIPAddress = !String.IsNullOrEmpty(ip.InternalIP) ? ip.InternalIP : ip.ExternalIP;
item.SiteIPAddress = ip.ExternalIP;
certificate = server.installCertificate(certificate, item);
if (certificate.SerialNumber == null)