This module allows you to install certificates into the windows certificate manager.
salt '*' certutil.add_store salt://cert.cer "TrustedPublisher"
Add the given cert into the given Certificate Store
CLI Example:
salt '*' certutil.add_store salt://cert.cer TrustedPublisher
Delete the given cert into the given Certificate Store
CLI Example:
salt '*' certutil.del_store salt://cert.cer TrustedPublisher
Get the serial number of a certificate file
CLI Example:
salt '*' certutil.get_cert_serial <certificate name>
Get all of the certificate serials in the specified store
CLI Example:
salt '*' certutil.get_stored_cert_serials <store>
© 2019 SaltStack.
Licensed under the Apache License, Version 2.0.
https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.win_certutil.html