Install certificates to the Windows Certificate Manager
salt://certs/cert.cer:
certutil.add_store:
- store: TrustedPublisher Store a certificate to the given store
The certificate to store, this can use local paths or salt:// paths
The store to add the certificate to
The salt environment to use, this is ignored if a local path is specified
Remove a certificate in the given store
The certificate to remove, this can use local paths or salt:// paths
The store to remove the certificate from
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