Code to revoke a Microsoft CA certificate from outside the domain

0

I am trying to develop a .NET application to revoke a certificate obtained from a Microsoft CA.

I was able to get it working using ICertAdmin::RevokeCertificate and the pointers given in this link.

However, I find that the revocation works only if I run this application from a computer that is connected to the same domain as the CA. When run from a non-domain joined computer, it fails with the following error message:

CCertAdmin::RevokeCertificate: The RPC server is unavailable. 0x800706ba (WIN32: 1722 RPC_S_SERVER_UNAVAILABLE)

Now, my question is:

  1. Is this how ICertAdmin is supposed to work?
  2. If yes, is there any way to programmatically revoke certificates from outside a domain?
c#
.net
certificate-authority
asked on Stack Overflow Oct 8, 2018 by Bala • edited Oct 8, 2018 by Uwe Keim

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0