Get Certificates from an existing Profile

Hello,

I am trying to implement a small application that retrieves certificates for existing profiles from the FIM CM server. I've been looking at the documentation and i tried the FindOperations.FindCertificates(profile) but returns a list of X509ClmCertificates and those objects does not contain the information I need from the certificate (validity, issuing date, etc...). Is there nay way to get the right certificate with this function?

I've also tried the function ExecuteOperations.Enroll(request.Uuid, certificateRequests, "pfxPassword", "some comment"); explained here (https://msdn.microsoft.com/en-us/library/windows/desktop/bb468053%28v=vs.100%29.aspx?f=255&MSPPError=-2147217396) but I do not know what do in the method GetCertificateRequests. This topic has been already asked in this forum but not answered.

What I need to do is to get the certificate then encode the whole content and send it to an external service by serializing it as Json. That's why i thought I could use the ExecuteOperations Class to get a PFX and serialize it.

Could you guys please give some help on this....i will really appreciate it.

Thanks a lot

June 8th, 2015 8:01am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics