Security.DeleteCertificates
Method | |
---|---|
Module | Security |
Library | Security |
Action | Deletes every certificate in the local machine cert store (as the agent is run as Local System) with the specified thumbprint. |
Parameters |
NoteIf the thumbprint string is copied from the Crypto API viewer in Windows, the thumbprint is preceded by a "left to right mark" (Unicode 0x200E / UTF8 surrogates 0xE2 0x80 0x8E - which can look like "‎" in a non-unicode aware editor. In a unicode aware text field this character is one pixel width but invisible on screen unless selected). The agent will handle this character if present, but please be aware of this "invisible" character if you're doing any of your own string comparison in the agent language.
|
Return values |
|
Example | Security.DeleteCertificates(Store: "Intermediate Certification Authorities", Thumbprint: "ff01505a76635ede2e1815cc7312e1abde0cddcc"); |
Platforms |
|
Notes |