Hi All,

I want to create my own mini-CA capable of signing certificate requests.

So I follow the below instructions given in ca commands:

Note: these examples assume that the ca directory structure is already
set up and the relevant files already exist. This usually involves
creating a CA certificate and private key with req, a serial number file
and an empty index file and placing them in the relevant directories.

To use the sample configuration file below the directories demoCA,
demoCA/private and demoCA/newcerts would be created. The CA certificate
would be copied to demoCA/cacert.pem and its private key to
demoCA/private/cakey.pem. A file demoCA/serial would be created
containing for example ``01'' and the empty index file demoCA/index.txt.

Sign a certificate request:
 openssl ca -in req.pem -out newcert.pem

I've got the message : wrong number of fields line 1(looking for fields
6, got 1, " left)

I don't understand this behaviour.

PS : What demo/serial must contain(1), and demoCA/index.txt(2) ?

(1)  : "01" or 01 ?
(2)  : ?

Thanks for your reply.

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

Reply via email to