I try to use the c interface to add the certificate policies and I have try this:
I tried using following syntax for the same : - add_ext(x509OutCertificate, NID_certificate_policies, "Policy: 2.16.840.1.113733.1.7.54 ,CPS:https://www.verisign.com/cps"); - add_ext(x509OutCertificate, NID_certificate_policies, "2.16.840.1.113733.1.7.54,https://www.verisign.com/cps"); & many more combinations!! but not able to add this extension in certificate. Any clue what is wrong? Thanks in advance