

Sure, you could better automate this with OpenBao (not OpenTofu funnily enough)
You’d generate and sign your own root cert. Then manage all following changes with OpenBao as PKIs https://openbao.org/docs/secrets/pki/quick-start-root-ca/
Deeeep rabbit hole here https://openbao.org/docs/secrets/pki/considerations/
I don’t see anywhere where I can see the source code of that build. Not saying it’s a bad project just that I’d like more transparency.
I’m more trusting of the debloat scripts that I can read and inspect. https://github.com/Raphire/Win11Debloat