Update T1553.004.yaml (#1386)

Fixed test as it was not working

Co-authored-by: mhaag-spl <76067280+mhaag-spl@users.noreply.github.com>
Co-authored-by: Carrie Roberts <clr2of8@gmail.com>
This commit is contained in:
Michael Haag
2021-02-11 09:16:41 -07:00
committed by GitHub
parent 73bdd9c307
commit 6f91baab5c
+1 -1
View File
@@ -147,7 +147,7 @@ atomic_tests:
Get-ChildItem Cert:\LocalMachine\My\$($cert.Thumbprint) | Remove-Item
executor:
command: |
certutil -addstore my .\test-cert.cer
certutil -addstore my #{pfx_path}
cleanup_command: |
$cert = Import-Certificate -FilePath #{pfx_path} -CertStoreLocation Cert:\LocalMachine\My
Get-ChildItem Cert:\LocalMachine\My\$($cert.Thumbprint) -ErrorAction Ignore | Remove-Item -ErrorAction Ignore