code: def add_store(source, store, saltenv='base'):
      '''
      Add 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 add the certificate to
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.add_store salt://cert.cer TrustedPublisher
      '''
      cert_file = __salt__['cp.cache_file'](source, saltenv)
      cmd = "certutil.exe -addstore {0} {1}".format(store, cert_file)
      return __salt__['cmd.run'](cmdf add_store(source, store, saltenv='base'):
      '''
      Add 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 add the certificate to
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.add_store salt://cert.cer TrustedPublisher
      '''
      cert_file = __salt__['cp.cache_file'](source, saltenv)
      cmd = "certutil.exe -addstore {0} {1}".format(store, cert_file)
      return __salt__['cmd.run'](cmd)
docs: Add 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 add the certificate to
  
      saltenv
          The salt environment to use this is ignored if the path
          is local
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' certutil.add_store salt://cert.cer TrustedPublisher