Skip to content

Revoking a certificate does not require an account #361

@Mika56

Description

@Mika56

Hi,
Revoking a certificate does not always require an account. If you have the certificate's private key, you can revoke using:

Revoke-PACertificate -CertFile .\pathtocert.pem -KeyFile .\pathtokey.key

However, the Begin section of Revoke-PACertificate first makes sure that we have an account (using Get-PAAccount).
To workaround, you have to create an account (New-PAAccount) that will not be related to the certificate you're about to revoke, yet it still revokes without any issue.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions