[root@<Server> bin]# certutil -N -d /<Install_Dir>/CA/siteminder/<Cert_Directory>
certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.
PRODUCT: Siteminder
COMPONENT: Policy Server
VERSION: ANY
OPERATING SYSTEM: ANY
The "-d" switch defines the path and directory where the certificate database will be created. The directory defined in the "-d" switch needs to exist before running certutil to create the certificate database.
1) Change to the parent directory where the certificate database directory will be located
EXAMPLE: cd /<Install_Dir>/CA/siteminder/
2) Create the directory where the certificate database will be located
EXAMPLE: mkdir <db_directory>
3) Now you can create your certificate database and place it in the directory
EXAMPLE: certutil -N -d /<Install_Dir>/CA/siteminder/<Cert_Directory>