code: def import_certificate(self, certificate_data, bay_number=None):
          
          uri = "{}/https/certificaterequest".format(self.data['uri'])
  
          if bay_number:
              uri += "?bayNumber=%d" % (bay_number)
  
          headers = {'Content-Type': 'application/json'}
          return self._helper.do_put(uri, certificate_data, -1, headers)
docs: Imports a signed server certificate into the enclosure.
  
          Args:
              certificate_data: Dictionary with Signed certificate and type.
              bay_number: OA to which the signed certificate will be imported.
  
          Returns:
              Enclosure.