Index: modules/hosting/ssl/hosting_ssl.module
===================================================================
--- modules/hosting/ssl/hosting_ssl.module	(revision 552)
+++ modules/hosting/ssl/hosting_ssl.module	(working copy)
@@ -23,6 +23,7 @@
     $javascript = '$("#edit-port-80").attr("checked", !this.checked);$("#edit-port-443").attr("checked", this.checked);';
     $form['port']['ssl'] = array('#type' => 'checkbox', '#title' => 'Enable SSL encryption', '#default_value' => $default, '#weight' => 4, '#attributes' => array('onClick' => $javascript . ';if (!this.checked) { $("#edit-ssl-redirect").attr("checked", this.checked) };'),);
     $form['port']['ssl_redirect'] = array('#type' => 'checkbox', '#title' => 'Redirect HTTP to HTTPS', '#default_value' => $redirect, '#weight' => 5, '#attributes' => array('onClick' => 'if (this.checked) { ' . $javascript . ';$("#edit-ssl").attr("checked", this.checked);}'),);
+    $form['port']['ssl_wildcard'] = array('#type' => 'checkbox', '#title' => 'Use server-wide wildcard certificate', '#default_value' => array($form['#node']->ssl_wildcard), '#weight' => 5);
     $form['port']['#title'] = t("Port and encryption");
   }
 }
Index: modules/hosting/ssl/hosting_ssl.drush.inc
===================================================================
--- modules/hosting/ssl/hosting_ssl.drush.inc	(revision 552)
+++ modules/hosting/ssl/hosting_ssl.drush.inc	(working copy)
@@ -10,5 +10,6 @@
   if ($task->ref->type == 'site') {
     $task->options['ssl'] = $task->ref->ssl;
     $task->options['ssl_redirect'] = $task->ref->ssl_redirect;
+    $task->options['ssl_wildcard'] = $task->ref->ssl_wildcard;
   }
 }
Index: modules/hosting/site/hosting_site.module
===================================================================
--- modules/hosting/site/hosting_site.module	(revision 552)
+++ modules/hosting/site/hosting_site.module	(working copy)
@@ -467,8 +467,8 @@
   $node->client = $client->nid;
   $node->site_language = ($node->site_language) ? $node->site_language : 'en';
 
-  db_query("INSERT INTO {hosting_site} (vid, nid, client, db_server, platform, profile, language, last_cron, status, verified, port, `ssl`, ssl_redirect) VALUES (%d, %d, %d, %d, %d, %d, '%s', %d, %d, %d, %d, %d, %d)",
-           $node->vid, $node->nid, $node->client, $node->db_server, $node->platform, $node->profile, $node->site_language, $node->last_cron, $node->site_status, $node->verified, $node->port, $node->ssl, $node->ssl_redirect);
+  db_query("INSERT INTO {hosting_site} (vid, nid, client, db_server, platform, profile, language, last_cron, status, verified, port, `ssl`, ssl_redirect, ssl_wildcard) VALUES (%d, %d, %d, %d, %d, %d, '%s', %d, %d, %d, %d, %d, %d, %d)",
+           $node->vid, $node->nid, $node->client, $node->db_server, $node->platform, $node->profile, $node->site_language, $node->last_cron, $node->site_status, $node->verified, $node->port, $node->ssl, $node->ssl_redirect, $node->ssl_wildcard);
   if ((!$node->old_vid)) {
     if ($node->import) {
       hosting_add_task($node->nid, 'import');
@@ -506,8 +506,8 @@
   else {
     $client = hosting_get_client($node->client);
     $node->client = $client->nid;
-    db_query("UPDATE {hosting_site} SET client = %d, db_server = %d, platform = %d, last_cron = %d, status = %d, profile = %d, language = '%s', verified = %d, port = %d, `ssl` = %d, ssl_redirect = %d WHERE vid=%d",
-             $node->client, $node->db_server, $node->platform, $node->last_cron, $node->site_status, $node->profile, $node->site_language, $node->verified, $node->port, $node->ssl, $node->ssl_redirect, $node->vid);
+    db_query("UPDATE {hosting_site} SET client = %d, db_server = %d, platform = %d, last_cron = %d, status = %d, profile = %d, language = '%s', verified = %d, port = %d, `ssl` = %d, ssl_redirect = %d, ssl_wildcard = %d WHERE vid=%d",
+             $node->client, $node->db_server, $node->platform, $node->last_cron, $node->site_status, $node->profile, $node->site_language, $node->verified, $node->port, $node->ssl, $node->ssl_redirect, $node->ssl_wildcard, $node->vid);
   }
   if (!$node->no_verify) {
     hosting_add_task($node->nid, 'verify');
@@ -518,7 +518,7 @@
  * Implementation of hook_load().
  */
 function hosting_site_load($node) {
-  $additions = db_fetch_object(db_query('SELECT  client, db_server, platform, profile, language as site_language, last_cron, status AS site_status, verified, port, `ssl`, ssl_redirect FROM {hosting_site} WHERE vid = %d', $node->vid));
+  $additions = db_fetch_object(db_query('SELECT  client, db_server, platform, profile, language as site_language, last_cron, status AS site_status, verified, port, `ssl`, ssl_redirect, ssl_wildcard FROM {hosting_site} WHERE vid = %d', $node->vid));
   return $additions;
 }
 
Index: modules/hosting/site/hosting_site.install
===================================================================
--- modules/hosting/site/hosting_site.install	(revision 552)
+++ modules/hosting/site/hosting_site.install	(working copy)
@@ -74,6 +74,10 @@
         'type' => 'int',
         'not null' => TRUE,
       ),
+      'ssl_wildcard' => array(
+        'type' => 'int',
+        'not null' => TRUE,
+      ),
     ),
     'primary key' => array('vid'),
   );
@@ -243,3 +247,8 @@
   return array();
 }
 
+function hosting_site_update_6005() {
+  $ret = array();
+  db_add_field($ret, 'hosting_site', 'ssl_wildcard', array('type' => 'int', 'not null' => TRUE, 'default' => 0));
+  return $ret;
+}
\ No newline at end of file
