I get this notification when I go through these steps 1). creating/installing a site without ssl, 2) then trying to enable ssl. After enabling SSL on the site and clicking save I get the message, "Unable to allocate IP address for certificate, disabling SSL. Allocate more IP addresses to this server then try to enable SSL again." The site saves but does not enable ssl. I think it is related to not allocating an IP address but only the host name. This seems to fix it:

hosting/server/hosting.ip.inc
@@ -35,7 +35,7 @@ function hosting_ip_save($node, $update = FALSE) {
     }
   }
 
-  $ips = is_array($node->new_ip_addresses) ? $node->ip_addresses : array();
+  $ips = is_array($node->new_ip_addresses) ? $node->new_ip_addresses : array();

Comments

trrroy’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev

switching version

anarcat’s picture

Status: Active » Needs review

looks good, just needs testing. in the future, try to attach patches instead of pasting them inline. thanks!

anarcat’s picture

Status: Needs review » Fixed

committed thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ergonlogic’s picture

Status: Closed (fixed) » Needs work

I'm still getting the error reported above, despite this change in 6.x-2.x.

anarcat’s picture

Status: Needs work » Closed (fixed)

please open an issue describing exactly the problem and how to reproduce - there were lots of changes in the code since alpha2 so I'd like to see this in a separate issue now please.