<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>I built and
installed the 389 Directory Server 1.2.6 on CentOS 4.4. The server works fine.
</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>Then, I generated
the certs (using certutil) and imported them in the cert-store. The certs are
generated basically generated by the setupssl2.sh script. When I list the certs
afterwards, everything looks fine:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>certutil -L -d
/etc/dirsrv/<SPAN class=354084714-28092010><dir-instance></SPAN><BR>CA
certificate
CTu,u,u<BR><hostname>
u,u,u<BR></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>However, when I
restart the server, I get the following error and the server does not come up
anymore:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial>[28/Sep/2010:10:45:40 -0400] - SSL alert: Security
Initialization: NSS initialization failed (Netscape Portable Runtime error -8174
- security library: bad database.): certdir: /etc/dirsrv/<SPAN
class=354084714-28092010><dir-instance></SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>Not surprisingly,
the certutil -L -d .... comes up with the same error:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>certutil: function
failed: security library: bad database.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=354084714-28092010>Any idea, what goes
wrong there?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010>Thanks,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=354084714-28092010>-Reinhard</SPAN></DIV>
<DIV><BR></DIV></FONT></BODY></HTML>