Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • osian/sucs-site
  • kais58/sucs-site
  • imranh/sucs-site
  • foshjedi2004/sucs-site
  • gigosaurus/sucs-site
  • matstn/sucs-site
  • ripp_/sucs-site
  • eggnog/sucs-site
  • sucssite/sucs-site
  • elbows/sucs-site
  • realitykiller/sucs-site
  • crox/sucs-site
  • vectre/sucs-site
  • welshbyte/sucs-site
  • paperclipman/sucs-site
15 results
Show changes
Commits on Source (4)
  • Imran Hussain's avatar
    Disable cert checking when talking to the SU-API · 9c458ae5
    Imran Hussain authored
    Disable verifying of the cert wehn talking to the SU-API VM. We don't need it,
    as long as the data is sent down a secure connection that's all we really care
    about. Also this makes tings easier to admin as we don't need to worry about
    renewing certs during freshers.
    9c458ae5
  • Callum Massey's avatar
    Merge branch 'master' into 'master' · 0758bd46
    Callum Massey authored
    Disable cert checking when talking to the SU-API
    
    Disable verifying of the cert wehn talking to the SU-API VM. We don't need it,
    as long as the data is sent down a secure connection that's all we really care
    about. Also this makes tings easier to admin as we don't need to worry about
    renewing certs during freshers.
    
    See merge request !13
    0758bd46
  • Imran Hussain's avatar
    Merge branch 'master' into 'beta' · d13fa5d2
    Imran Hussain authored
    Push "Disable cert checking when talking to the SU-API" onto beta
    
    Push "Disable cert checking when talking to the SU-API onto" beta
    
    See merge request !14
    d13fa5d2
  • Imran Hussain's avatar
    Merge branch 'beta' into 'sucs-site' · 815e7049
    Imran Hussain authored
    Push "Disable cert checking when talking to the SU-API" onto live
    
    Code hasn't exploded and it fixes the problem we have.
    
    See merge request !15
    815e7049
......@@ -38,6 +38,8 @@ if (isset($session->groups[$permission])) {
$apiReq = curl_init();
curl_setopt($apiReq, CURLOPT_URL, $url);
curl_setopt($apiReq, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYHOST, false);
$apiResult = curl_exec($apiReq);
if ($apiResult === FALSE) {
......@@ -171,6 +173,8 @@ if (isset($session->groups[$permission])) {
$apiReq = curl_init();
curl_setopt($apiReq, CURLOPT_URL, $url);
curl_setopt($apiReq, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYHOST, false);
$apiResult = curl_exec($apiReq);
libxml_use_internal_errors(true);
......@@ -207,6 +211,8 @@ if (isset($session->groups[$permission])) {
$apiReq = curl_init();
curl_setopt($apiReq, CURLOPT_URL, $url);
curl_setopt($apiReq, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYHOST, false);
$apiResult = curl_exec($apiReq);
$sumembers = su_response_decode($apiResult);
......@@ -260,6 +266,8 @@ if (isset($session->groups[$permission])) {
$apiReq = curl_init();
curl_setopt($apiReq, CURLOPT_URL, $url);
curl_setopt($apiReq, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($apiReq, CURLOPT_SSL_VERIFYHOST, false);
$apiResult = curl_exec($apiReq);
$sumembers = su_response_decode($apiResult);
......
......@@ -34,6 +34,8 @@ if(!empty($_REQUEST['sid'])&&!empty($_REQUEST['transactionID'])){
curl_setopt($ch,CURLOPT_POST,count($fields));
curl_setopt($ch,CURLOPT_POSTFIELDS,$fields_string);
curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
//execute post
$result = curl_exec($ch);
......