diff --git a/google_cse.theme.inc b/google_cse.theme.inc
index bdc89fe..29773e5 100644
--- a/google_cse.theme.inc
+++ b/google_cse.theme.inc
@@ -11,7 +11,7 @@
 function template_preprocess_google_cse_results(&$variables) {
   $query = google_cse_build_query(isset($_GET['query']) ? $_GET['query'] : '', NULL, FALSE);
   $variables['results_searchbox_form'] = $variables['form'] ? drupal_get_form('google_cse_results_searchbox_form') : '';
-  $variables['noscript'] = t('!google, or enable JavaScript to view them here.', array('!google' => l(t('View the results at Google'), 'http://'. variable_get('google_cse_domain', 'www.google.com') .'/cse', array('query' => $query))));
+  $variables['noscript'] = t('!google, or enable JavaScript to view them here.', array('!google' => l(t('View the results at Google'), 'https://'. variable_get('google_cse_domain', 'www.google.com') .'/cse', array('query' => $query))));
   $variables['prefix'] = filter_xss_admin(variable_get('google_cse_results_prefix', ''));
   $variables['suffix'] = filter_xss_admin(variable_get('google_cse_results_suffix', ''));
 
@@ -50,7 +50,7 @@ function google_cse_results_searchbox_form($form, &$form_state) {
     $cof = variable_get('google_cse_cof_here', 'FORID:11');
   }
   else {
-    $form['#action'] = 'http://'. variable_get('google_cse_domain', 'www.google.com') .'/cse';
+    $form['#action'] = 'https://'. variable_get('google_cse_domain', 'www.google.com') .'/cse';
     $cof = variable_get('google_cse_cof_google', 'FORID:0');
   }
   $form['#method'] = 'get';
