Sign CSR and and extra attribute

View: New views
2 Messages — Rating Filter:   Alert me  

Sign CSR and and extra attribute

by Dirk Reske-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm quite new to openssl.
My question is, how can I sign a csr and add an extension to the
certificate, that contains only a simple string (an url).
Perhaps you have some samples for such a config file and the openssl calls.

thanks
Dirk
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...

Re: Sign CSR and and extra attribute

by Victor B. Wagner :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009.06.24 at 18:15:18 +0200, Dirk Reske wrote:

> Hello,
>
> I'm quite new to openssl.
> My question is, how can I sign a csr and add an extension to the
> certificate, that contains only a simple string (an url).
> Perhaps you have some samples for such a config file and the openssl calls.

Here is extempt from real config file used by one of our CAs

[ ca ]
default_ca = CA_default

[ CA_default ]
# Lot of lines describing database location etc here
...
copy_extensions = copy # This for preserve extensions supplied in the CSR
x509_extensions = usr_cert # This is section name for CA-added extensions
[ usr_cert ]
basicConstraints=CA:FALSE # Add basic Constraint extension openssl
                          # knows, how to handle this syntax
crlDistributionPoints = URI:http://somesite/somepath.crl



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@...
Automated List Manager                           majordomo@...