Siteminder 'certutil' is returning "function failed: SEC_ERROR_BAD_DATABASE: security library: bad database"
search cancel

Siteminder 'certutil' is returning "function failed: SEC_ERROR_BAD_DATABASE: security library: bad database"

book

Article ID: 374988

calendar_today

Updated On:

Products

CA Single Sign On Agents (SiteMinder)

Issue/Introduction

[root@<Server> bin]# certutil -N -d /<Install_Dir>/CA/siteminder/<Cert_Directory>
certutil: function failed: SEC_ERROR_BAD_DATABASE: security library: bad database.

 

Environment

PRODUCT: Siteminder

COMPONENT: Policy Server

VERSION: ANY

OPERATING SYSTEM: ANY

Cause

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.

Resolution

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>