code: def list_cert_bindings(site):
      '''
      List certificate bindings for an IIS site.
  
      .. versionadded:: 2016.11.0
  
      Args:
          site (str): The IIS site name.
  
      Returns:
          dict: A dictionary of the binding names and properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_iis.list_bindings site
      '''
      ret = dict()
      sites = list_sites()
  
      if site not in sites:
          log.warning('Site not found: %s', site)
          return ret
  
      for binding in sites[site]['bindings']:
          if sites[site]['bindings'][binding]['certificatehash']:
              ret[binding] = sites[site]['bindings'][binding]
  
      if not ret:
          log.warning('No certificate bindings found for site: %s', site)
  
      return ref list_cert_bindings(site):
      '''
      List certificate bindings for an IIS site.
  
      .. versionadded:: 2016.11.0
  
      Args:
          site (str): The IIS site name.
  
      Returns:
          dict: A dictionary of the binding names and properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_iis.list_bindings site
      '''
      ret = dict()
      sites = list_sites()
  
      if site not in sites:
          log.warning('Site not found: %s', site)
          return ret
  
      for binding in sites[site]['bindings']:
          if sites[site]['bindings'][binding]['certificatehash']:
              ret[binding] = sites[site]['bindings'][binding]
  
      if not ret:
          log.warning('No certificate bindings found for site: %s', site)
  
      return ret
docs: List certificate bindings for an IIS site.
  
      .. versionadded:: 2016.11.0
  
      Args:
          site (str): The IIS site name.
  
      Returns:
          dict: A dictionary of the binding names and properties.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_iis.list_bindings site