I have several API endpoints that execute certutil.exe, certreq.exe and openssl.exe; all functioning without issue.
However, as soon as I execute certutil.exe -CRL within the logic of an endpoint, the CPU usage of the respective pwsh.exe thread goes to 100%.
When I execute the same command in a normal powershell or pwsh session, the command executes without issue.
It does not seem to make any difference if I execute the command synchronously or asynchronously (& certutil.exe [...] vs & certutil.exe [...] &)
What would be an effective way to troubleshoot what is happening here?
Product: PowerShell Universal
Version: 2.7.0