Using VenafiPS to revoke certificate in history

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

Using VenafiPS to revoke certificate in history

L0 Member
It is very easy to obtain the VaultID of a previous version using theGet-VdcCertificate command, but I cannot find a subsequent command to leverage the VaultID in order to revoke the previous certificate.Is there an easy method to do this or is it Invoke-VenafiRestMethod ?.
1 REPLY 1

L3 Networker

Hi @Alan Morton​ . You'll need to revoke via the thumbprint, https://docs.venafi.com/Docs/currentAPI/#?route=post-/vedsdk/certificates/Revoke, not Vault ID. You can obtain the thumbprint via PreviousVersions.CertificateDetails.Thumbprint. Unfortunately, revocation via thumbprint is not a built-in function currently. Invoke-VenafiRestMethod is the way to go. Feel free to submit an enhancement request if this is something you will use often.

  • 115 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!