salt.states.win_certutil module

Installing of certificates to the Windows Certificate Manager

Install certificates to the Windows Certificate Manager

salt://certs/cert.cer:
  certutil.add_store:
    - store: TrustedPublisher
salt.states.win_certutil.add_store(name, store, saltenv='base')

Store a certificate to the given store

name
The certificate to store, this can use local paths or salt:// paths
store
The store to add the certificate to
saltenv
The salt environment to use, this is ignored if a local path is specified
salt.states.win_certutil.del_store(name, store, saltenv='base')

Remove a certificate in the given store

name
The certificate to remove, this can use local paths or salt:// paths
store
The store to remove the certificate from
saltenv
The salt environment to use, this is ignored if a local path is specified

Docs for previous releases are available on readthedocs.org.

Latest Salt release: 2015.8.10

Table Of Contents

Previous topic

salt.states.virtualenv

Next topic

salt.states.win_dacl