salt.states.win_certutil

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

© 2021 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltproject.io/en/latest/ref/states/all/salt.states.win_certutil.html