百度智能云

All Product Document

          CDN

          https Setting

          Set Domain Name https

          def test_set_domain_https(self): 
              """
              test_set_domain_https
              """
              error = None 
              try: 
                  https = { 
                          'enabled': True, 
                          'certId': 'cert-rm45x46isit4', 
                          } 
                  response = self.cdn_client.set_domain_https('opencdn3.sys-qa.com', https) 
                  print response 
              except BceServerError as e: 
                  error = e 
              finally: 
                  self.assertIsNone(error) 
          Previous
          Cache Setting
          Next
          Advanced Setting