Get certificate from windows server 2003's CA using C#
-
27-09-2019 - |
Question
I have a CA in windows server 2003 along with active directory (in the same machine). Every AD user have its own certificate. What I want to do is to access the CA to get a certain certificate to cypher data with the public key.
I've been searching but got nowhere...
Solution
It seems to me that you should get Active Directory attribute userCertificate of the user (see here for example.
If you mean under "to cypher data with the public key" EFS you can use AddUsersToEncryptedFile (see MSDN example).
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow