百度智能云

All Product Document

          CDN

          https Setting

          Set https Acceleration

          $https = array( 
              'https' => array( 
                  "enabled" => false, 
                  "certId" => "----"//When enabled is true, the parameter shall be the id of the valid certificate or " ". 
              ) 
          ); 
          
          $client = new CdnClient($g_CDN_TEST_CONFIG); 
          $domain = "test-sdk.sys-qa.com"; 
          $resp = $client->setDomainHttps($domain, $https); 
          print_r($resp); 
          Previous
          Cache Setting
          Next
          Advanced Setting