jeudi 30 septembre 2021

Submit web certificate request to policy server using C#

How can I do the following command from C# .Net ? certreq -submit -Username <domain\user> -p -policyserver https://hostname/ADPolicyProvider_CEP_UsernamePassword/service.svc/CEP -config https://hostname/SOMENAME_UsernamePassword/service.svc/CES -attrib "CertificateTemplate:MyTemplate" "source.req" "source.cer"

Found the following but no option to use policyserver what I can see RequestDisposition requestResult = (RequestDisposition)objCertRequest.Submit(0xff, strRequest, strAttribute, strCAConfig);




Aucun commentaire:

Enregistrer un commentaire