>       From: owner-openssl-us...@openssl.org On Behalf Of David Touzeau
>       Sent: Monday, 04 May, 2009 05:59

>       To answer to your question : 
        
>       does the index.txt file exist : no 
>       does serial file exist and contain a serial number, as required  :
no
        
>       How to generate index.txt and serial file ?

As I said before:

>       See the descriptions of 'database' and 'serial' in man ca .

Copy-and-pasted here for your convenience:

     database
         the text database file to use. Mandatory. This file must
         be present though initially it will be empty.

     serial
         a text file containing the next serial number to use in
         hex. Mandatory.  This file must be present and contain a
         valid serial number.

To create an empty file on Unix the canonical way is to use touch;
on many shells redirecting output from a null command always works.

Unless you want another value, the smallest hex serial is 01, so:
  echo 01 >serial # that's zero one
  # with the space; (most?) shells will treat echo 01>serial as 
  # (overspecified) redirection of fd#1 and no command argument



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

Reply via email to