Project

General

Profile

« Previous | Next » 

Revision 2415b2e3

Added by Andreas Kohlbecker over 2 years ago

fix #9808 option to disable ssl cert validation

View differences:

modules/cdm_dataportal/settings.php
987 987
    '#default_value' => variable_get('cdm_webservice_url', NULL),
988 988
  );
989 989

  
990
  $form['cdm_webservice']['cdm_webservice_url_ssl_verify'] = array(
991
    '#type' => 'checkbox',
992
    '#title' => t('Verify SSL/TLS certificate') . ':',
993
    '#description' => 'The ssl/tsl certificate of the CDM web service will not be verified if this options is disabled, . 
994
    This can be helpful if you are running your server with self-signed certificates. Since this is 
995
    discouraged, disabling this options should only be done, if you are fully aware of the security consequences.',
996
    '#default_value' => variable_get('cdm_webservice_url_ssl_verify', 1),
997
  );
998

  
990 999
  $form['cdm_webservice']['cdm_webservice_debug'] = array(
991 1000
    '#type' => 'markup',
992 1001
    '#markup' => '<b>Debug CDM Web Service:</b> Debugging web services is possible via the ' . l('CDM web service debug block', 'admin/structure/block/manage/cdm_api/cdm_ws_debug/configure')

Also available in: Unified diff