certutil error

I'm trying to display the certifcate name & trust attributes associated w/ the certs.

I use the cmd:

certutil -L -dcertdir

the resut i get is:

certutil: function failed: security library: bad database

Any suggestions on how to fix this? We're working on a windows box

[318 byte] By [mcmxl] at [2007-11-26 11:11:19]
# 1

Which web server version and service pack are you using?

It works for me using WS 6.1SP6:

C:\Sun\WebServer616\alias>c:\Sun\WebServer616\bin\https\admin\bin\certutil.e xe -

L -d c:\sun\WebServer616\alias -P https-searchtest-NICO-

Server-Cert u,u,u

I can see the Server-Cert and the trust attributes. Try using "-P dbprefix" option as shown in above example.

kapmani at 2007-7-7 3:25:48 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

By default, certutil / pk12util searches for databases named cert8.db and key3.db, but some of the versions of Web Server use alternate names such as https-instance-hostname-cert8.db and https-instance-hostname-key3.db in that case add "-P https-instance-hostname-" parameter for the prefix.

meena@wssun at 2007-7-7 3:25:48 > top of Java-index,Web & Directory Servers,Web Servers...