Home > I O > Could Not Authenticate To Token Nss Certificate Db

Could Not Authenticate To Token Nss Certificate Db

Contents

This may take a few moments... All the docs reference tksTool. Thanks; Regards. > > I have checked my real hostname and other stuffs specified in the > documentation... Is this a CA certificate [y/N]?

Additionally there are additional inputs involved when using certutil: # certutil -R -k rsa -g 2048 -s "CN=cisco1.stargatecommand.mil" -o cisco1.cert -v 12 -d . -1 -3 -6 Enter Password or Pin On the other hand, we have special error codes for issues opening the database, I don't know why one of these aren't being used. (though it's most likely to say something One of the easiest ways to create a random seed is to use the timing of keystrokes on a keyboard. Last Comment Bug266209 - certutil error message is vague when unable to create databases Summary: certutil error message is vague when unable to create databases Status: NEW Whiteboard: Keywords: Product: NSS

Could Not Authenticate To Token Nss Certificate Db

Exporting the CA certificate to cacert.asc Generating server certificate for 389 Directory Server on host KingKong.mylocaldomain.com Using fully qualified hostname KingKong.mylocaldomain.com for the server name in the server cert subject DN I think this is a real bug, and worthy of fixing. It would be far better to report that C_Initialize failed than some generic IO error.

Updating Attribute Encryption for New SSL/TLS Certificates" : http://docs.redhat.com/docs/en-US/Red_Hat_Directory_Server/8.2/html/Administration_Guide/Managing_SSL.html Another error : Starting dirsrv: KingKong...[16/Dec/2010:13:52:16 +0100] SSL Initialization - Warning: certificate DB file cert8.db nor cert7.db exists in [/etc/dirsrv/slapd-KingKong] - SSL Please try the request again. This may take a few moments... Comment 1 Julien Pierre 2007-09-13 15:27:39 PDT The error comes from a PKCS#11 module (softoken) and there is no specific reason for file access issues.

Other ldap request on this port > work. > > Sorry for my bad english... > > Any help would be gracefull ! > > Regards; > > Rémy > > Certutil Creating self-signed CA certificate Generating key. All the docs reference tksTool. over here Technically PKCS#11 modules don't even have to use files.

Exporting the admin server certificate pk12 file pk12util: PKCS12 EXPORT SUCCESSFUL Creating pin file for directory server Creating key and cert db for admin server Importing the admin server key and bad permissions instead of the generic I/O error message. Format For Printing -XML -JSON - Clone This Bug -Top of page Home | New | Browse | Search | [help] | Reports | Product Dashboard Privacy Notice | Legal Terms Creating the admin server certificate Generating key.

Certutil

The system returned: (22) Invalid argument The remote host or network may be down. Then, if I reexecute > setupssl.sh, it generates the cert files, but (again), there is no > changes... > > Obviously, if I open 389-console, I could see this string in Could Not Authenticate To Token Nss Certificate Db Enter the path length constraint, enter to skip [<0 for unlimited path]: > Is this a critical extension [y/N]? After removing the cert files (cacert, db, txt files) in /etc/dirsrv/slapd-instance/ I could launch ldaps correctly. #./setupssl2.sh /etc/dirsrv/slapd-KingKong/ 9831 Using /etc/dirsrv/slapd-KingKong/ as sec directory No CA certificate found - will create

Comment 2 Nelson Bolyard (seldom reads bugmail) 2007-09-13 23:27:39 PDT The mapping of PKCS#11 error numbers onto NSS error codes is way too coarse. certutil should state something to the effect of "certutil: Unable to access /tmp/toast." in the case of the certificate database location not existing or being unable to access the location e.g. Follow-Ups: Re: [Pki-users] certutil: unable to generate key(s) From: Chandrasekar Kannan Re: [Pki-users] certutil: unable to generate key(s) From: Marc Sauton [Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] The mapping of PKCS11 error codes into NSS error codes should also take into account the PKCS11 function that failed.

[Date Prev][Date Next] [Thread Prev][Thread Next] [Thread Index] [Date Index] [Author Index] Re: [Pki-users] certutil: unable to generate key(s) From: Fortunato To: pki-users redhat com Comment 3 Robert Relyea 2007-09-14 10:53:18 PDT Actually the PKCS #11 errors are pretty coarse in this case. Fixed the -d option. Each of > the continuation lines should begin with a single space character - these > continuation lines look left justified. > I changed the name of "myhost" to put a

I have downloaded setupssl2.sh again with good spaces (for ciphers), and execute it. Generated Tue, 18 Oct 2016 03:08:04 GMT by s_ac15 (squid/3.5.20) Your cache administrator is webmaster.

The best we could do would be to have a better default message.

This may take a few moments... I will try to insert a space before each line. > > > dn: cn=config > changetype: modify > add: nsslapd-security > nsslapd-security: on > - > replace: nsslapd-ssl-check-hostname > nsslapd-ssl-check-hostname: So I don't think we can fix this. DO NOT USE THE AUTOREPEAT FUNCTION ON YOUR KEYBOARD!

What platform? > 389-ds-base-1.2.7.2-1.fc13.x86_64 Fedora 13 Linux 2.6.34.7-56.fc13.x86_64 #1 SMP If I just try the end of the script, you can see the error : ldapmodify -x -h localhost -p 9831 Continue typing until the progress meter is full: |************************************************************| ... -- The bigger issue is that I wanted to create a Certificate Request using certutil. -----Original Message----- >From: Chandrasekar Kannan Red Hat Link with error codes "14.2.7. Note You need to log in before you can comment on or make changes to this bug.

I don't want to fubar more things but it looks like the following is needed: >> >> tksTool -N -d . >> >> I assume the tksTool is part of pki-tks. It would reduce the number of inquiries that NSS developers must answer if the error codes were actually descriptive of the problems. I don't want to fubar more things but it looks like the following is needed: tksTool -N -d . I assume the tksTool is part of pki-tks. -----Original Message----- >From: Marc Sauton >Sent: Apr 29, 2009 11:42 AM >To: Fortunato >Cc: pki-users redhat

The error is here : > > nsSSL3Ciphers: > -rsa_null_md5,+rsa_rc4_128_md5,+rsa_rc4_40_md5,+rsa_rc2_40_md5, > +rsa_des_sha,+rsa_fips_des_sha,+rsa_3des_sha,+rsa_fips_3des_sha,+fortezza, > +fortezza_rc4_128_sha,+fortezza_null,+tls_rsa_export1024_with_rc4_56_sha, > +tls_rsa_export1024_with_des_cbc_qsha > > > But if I do the modifications except this piece of code, ldaps URL: Previous message: [389-users] problem with SSL Next message: [389-users] upgrading packages Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about To begin, type keys on the keyboard until this progress meter is full. Far too many errors map to SEC_ERROR_IO, which is the error code reported here.

I know that I do not use the standard LDAP port but I do > not see why this section could not work... For more details see Persona Deprecated. Now I'm getting: Enter Password or Pin for "NSS Certificate DB": I did not set this Password/PIN. That did the trick, but there were other plain-text items in the file.