开发者

Get certificate from windows server 2003's CA using C#

开发者 https://www.devze.com 2023-01-27 04:25 出处:网络
I have a CA in windows server 2003 along with active directory (in the same machine). Every AD user have its own certificate.

I have a CA in windows server 2003 along with active directory (in the same machine). Every AD user have its own certificate. Wh开发者_运维百科at 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...


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).

0

精彩评论

暂无评论...
验证码 换一张
取 消