Error while configuring Certificate Authority server

2,303 views
Skip to first unread message

pankaj Arora

unread,
Nov 8, 2009, 8:29:43 AM11/8/09
to VG...@googlegroups.com
Hi All,

I have configure Certificate Authority server.

On signing the certificate i am getting this error

[root@server certs]# openssl ca -in ldap.csr -out ldap.crt        
Using configuration from /etc/pki/tls/openssl.cnf
Enter pass phrase for /etc/pki/CA/private/ca.key:          >>>>>>> checked with both the  password ca.crt & ldap.csr
unable to load number from /etc/pki/CA/serial
error while loading serial number
6060:error:0D066091:asn1 encoding routines:a2i_ASN1_INTEGER:odd number of chars:f_int.c:162:
[root@server certs]#

File serial number already exist in the location

/etc/pki/CA/serial ...........with full permission.

Please suggest why i am getting this error

With Regards
Pankaj Arora

pankaj Arora

unread,
Nov 10, 2009, 7:06:23 AM11/10/09
to vg...@googlegroups.com

Vijay Nayani

unread,
Nov 11, 2009, 12:39:29 AM11/11/09
to vg...@googlegroups.com
hi Dear,,,

u can make serial & index.txt file
example...........
Steps..........
# cd /etc/pki/CA/
#touch index.txt
#echo 01 > serial
then u can use this cammand openssl ca -in ldap.csr -out ldap.crt
i hope successfull done it...........
2009/11/10 pankaj Arora <pankaj...@gmail.com>
Reply all
Reply to author
Forward
0 new messages