This module allows you to install certificates into the windows certificate manager.
salt '*' certutil.install salt://cert.cer "TrustedPublisher"
salt.modules.win_certutil.
add_store
(source, store, saltenv='base')¶Add the given cert into the given Certificate Store
CLI Example:
salt '*' certutil.add_store salt://cert.cer TrustedPublisher
salt.modules.win_certutil.
del_store
(source, store, saltenv='base')¶Delete the given cert into the given Certificate Store
CLI Example:
salt '*' certutil.del_store salt://cert.cer TrustedPublisher
salt.modules.win_certutil.
get_cert_serial
(cert_file)¶Get the serial number of a certificate file
salt.modules.win_certutil.
get_stored_cert_serials
(store)¶Get all of the certificate serials in the specified store