code: def del_store(source, store, saltenv='base'):
      '''
      Delete the given cert into the given Certificate Store
  
      source
          The source certificate file this can be in the form
          salt://path/to/file
  
      store
          The certificate store to delete the certificate from
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.del_store salt://cert.cer TrustedPublisher
      '''
      cert_file = __salt__['cp.cache_file'](source, saltenv)
      serial = get_cert_serial(cert_file)
      cmd = "certutil.exe -delstore {0} {1}".format(store, serial)
      return __salt__['cmd.run'](cmdf del_store(source, store, saltenv='base'):
      '''
      Delete the given cert into the given Certificate Store
  
      source
          The source certificate file this can be in the form
          salt://path/to/file
  
      store
          The certificate store to delete the certificate from
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.del_store salt://cert.cer TrustedPublisher
      '''
      cert_file = __salt__['cp.cache_file'](source, saltenv)
      serial = get_cert_serial(cert_file)
      cmd = "certutil.exe -delstore {0} {1}".format(store, serial)
      return __salt__['cmd.run'](cmd)
docs: Delete the given cert into the given Certificate Store
  
      source
          The source certificate file this can be in the form
          salt://path/to/file
  
      store
          The certificate store to delete the certificate from
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.del_store salt://cert.cer TrustedPublisher