[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Globus-discuss] TXT_DB error number 2 in grid-ca-sign




I think this is the reason, see below:
-------------------------------------------------------------------------------------------------
 ERROR WHEN SIGNING THE SAME USER/HOST CERTIFICATE FOR THE SECOND TIME

grid-ca-sign -in usercert_request.pem -out usercert.pem

SOLUTION:
vi /home/globus/.globus/simpleCA/index.txt     (or where your simpleCA is located)
remove the line with the hostname you are trying to sign
(because index.txt.attrib says each id can only be signed once!)
-------------------------------------------------------------------------------------------------
========== ERROR MESSAGES FROM OPENSSL ==========
failed to update database
TXT_DB error number 2
The new signed certificate is at: /opt/globus/simpleCA/newcerts/03.pem
-------------------------------------------------------------------------------------------------







"Pietro Molini" <pietrobm@tin.it>

Sent by:
owner-discuss@globus.org

28-01-2005 11:21

       
        To:        discuss@globus.org
        cc:        (bcc: Serge Vrijaldenhoven/EHV/RESEARCH/PHILIPS)
        Subject:        [Globus-discuss] TXT_DB error number 2 in grid-ca-sign

        Classification:        




Hi everyone!

The first time I run grid-ca-sign (as user "pietro", that is the name of
the user 'globus') with the generated usercert_request.pem, grid-ca-sign
seems to work. Then i had problems with grid-proxy -init, so i had run grid-cert-request
again: but this time i had the follwing error in signing ca:

[pietro@scruffy .globus]$ grid-ca-sign -in usercert_request.pem -out -signed.pem

Enter password for the CA key:

========== ERROR MESSAGES FROM OPENSSL ==========
Using configuration from /home/pietro/.globus/simpleCA//grid-ca-ssl.conf
DEBUG[load_index]: unique_subject = "yes"
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :PRINTABLE:'Globus'
Certificate is to be certified until Jan 28 09:54:56 2006 GMT (365 days)
failed to update database
TXT_DB error number 2
=================================================


I really don't undrestand what it could be

Anyone has ideas?

Thanks

Pietro

-
To Unsubscribe: send mail to majordomo@globus.org
with "unsubscribe discuss" in the body of the message