I'm
trying to set up a new install LDAP server with self signed
TLS/SSL on CentOS 6.2
I
received two errors during its run (full output is at the
bottom).
start-ds-admin
now fails to start, with the following error messages in
/var/log/dirsrv/admin-serv/error
***************************************************************************
Using /etc/dirsrv/slapd-ldap-xxxxx as sec directory
No CA certificate found - will create new one
No Server Cert found - will create new one
No Admin Server Cert found - will create new one
Creating password file for security token
Creating noise file
Creating new key and cert db
Creating encryption key for CA
Generating key. This may take a few moments...
Creating self-signed CA certificate
Generating key. This may take a few moments...
Is this a CA certificate [y/N]?
Enter the path length constraint, enter to skip [<0 for
unlimited path]: > Is this a critical extension [y/N]?
Exporting the CA certificate to cacert.asc
Generating server certificate for 389 Directory Server on
host
ldap.xxxxx.com
Using fully qualified hostname
ldap.xxxxx.com for the
server name in the server cert subject DN
Note: If you do not want to use this hostname, edit this
script to change myhost to the
real hostname you want to use
Generating key. This may take a few moments...
Creating the admin server certificate
Generating key. This may take a few moments...
Exporting the admin server certificate pk12 file
pk12util: PKCS12 EXPORT SUCCESSFUL
Creating pin file for directory server
Importing the admin server key and cert (created above)
Incorrect password/PIN entered.
pk12util: Failed to authenticate to PKCS11 slot: The
security password entered is incorrect.
pk12util: Failed to authenticate to "NSS User Private Key
and Certificate Services": The user pressed cancel.