def add_store(source, store, saltenv='base'):
 cert_file = __salt__['cp.cache_file'](source, saltenv)
 cmd = 'certutil.exe -addstore {0} {1}'.format(store, cert_file)
 return __salt__['cmd.run'](cmd)

def add_store ( source , store , saltenv = 'base' ) : cert_file = __salt__ [ 'cp.cache_file' ] ( source , saltenv ) cmd = 'certutil.exe -addstore {0} {1}' . format ( store , cert_file ) return __salt__ [ 'cmd.run' ] ( cmd )
store a certificate to the given store name the certificate to store .