Hi,

Am 09.09.2013 10:37, schrieb phildoch:
> Hello,
>
>  I am trying to add a "certificate policies" extension in CSR. For this I am
> using the openssl sample function mkreq() in file
> openssl/demos/x509/openssl/demos/x509/mkreq.c
What do you want it for? What does it mean that the certificate
requestor defines the certificate policies? Only the CA may state which
certification policies it is following.

Regards
Willy
>
> This the line of code I added:
> add_ext(exts, NID_certificate_policies, "1.3.6.1");
>
> Unfortunately it causes a segmentation fault.
> Is the syntax correct? Any clue what is wrong?
>
>  Thanks.
>
>
>
> --
> View this message in context: 
> http://openssl.6102.n7.nabble.com/adding-certificate-policies-extension-in-CSR-tp46467.html
> Sent from the OpenSSL - User mailing list archive at Nabble.com.
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [email protected]
> Automated List Manager                           [email protected]

-- 
-----------------------------------------------------------
Willy Weisz

             Computational Science Center
                 University of Vienna
               Oskar Morgenstern-Platz 1
                    A-1090 Wien
Tel: (+43 1) 4277 - 23724        Fax: (+43 1) 4277 - 823724
Mobile: +43 699 10109546   e-mail: [email protected]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [email protected]
Automated List Manager                           [email protected]

Reply via email to