Is there an Ansible Windows module to configure certificates similar to MMC.exe service?

I want to put add a manual procedure were we add a certificate in our system via the “MMC.exe” console

  • Add/remove snap-in
  • etc

I looked a win_certificates_store but it didn’t add the snap-in like I expected it to
https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_certificate_store_module.html

Thanks.

What would you like it to do exactly? Can you describe in pseudo code please?

Here’s the manual procedure i’m trying to automate. Thanks

  1. In Windows, click Start > Run.

  2. Type MMC.exe and press Enter.

  3. In MMC console, on the File menu, click Add/Remove Snap-in.

  4. Click Certificates, and then click Add.

  5. In the Certificates snap-in dialog box, select Computer account, and then click Next.

  6. Click Finish, and then click OK.

  7. In MMC Console, expand Certificates (Local Computer), and then expand Trusted Root Certification A u t h o r i t i e s.

  8. Right-click Certificates, point to All Tasks, and then click Import.

  9. Click Next, and then browse to the H:\MyApp\cfg folder.

  10. In the file type list, select All Files (.).

  11. Open cert.pem to import the certificate.

  12. Exit MMC Console.

https://docs.ansible.com/ansible/latest/collections/ansible/windows/win_certificate_store_module.html

That’s the same link I posted in my OP. Did you read it? Thanks.