diff --git a/acquia_purge.module b/acquia_purge.module
index 14b4c5a..eb482b9 100644
--- a/acquia_purge.module
+++ b/acquia_purge.module
@@ -470,7 +470,7 @@ function _acquia_purge_get_domains_add_sitesphp(&$domains) {
  *   Array with scheme strings like 'http' and 'https'.
  */
 function _acquia_purge_get_protocol_schemes() {
-  return array('http');
+  return variable_get('acquia_purge_protocol_schemes', array('http'));
 }

 /**
@@ -819,6 +819,11 @@ function _acquia_purge_queue_processpurge_requests($requests) {
         curl_setopt($rqst->curl, CURLOPT_CUSTOMREQUEST, $rqst->rtype);
         curl_setopt($rqst->curl, CURLOPT_FAILONERROR, TRUE);

+        if (variable_get('acquia_purge_skip_ssl_verify', FALSE)) {
+          curl_setopt($rqst->curl, CURLOPT_SSL_VERIFYHOST, FALSE);
+          curl_setopt($rqst->curl, CURLOPT_SSL_VERIFYPEER, FALSE);
+        }
+
         // Add our handle to the multiple cURL handle.
         if (!$single_mode) {
           curl_multi_add_handle($curl_multi, $rqst->curl);
