Re: SSL Certs without password

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Megginson wrote:
Michał Droździewicz wrote:
Hello,
I know how to generate certs with passwords, but this results in password prompt at server startup and reboot. Is there a way to generate SSL certificate without password?
NSS always requires a password in order to unlock your server key. See the shell script at http://directory.fedora.redhat.com/wiki/Howto:SSL#Script for an example of how to create a password file.

Actually, a password isn't required by NSS. To change an existing database to a NULL password use the modutil command. Its syntax is slightly different from the other NSS utilities but it has a decent help output if you don't get it quite right.

To change an existing database to be a blank password:

% modutil -dbdir /opt/fedora-ds/alias -dbprefix slapd-foo- -changepw "NSS Certificate DB"

Enter the old password then press Enter twice for the new password to blank it out.

To generate a new database with a blank password with certutil do something like:

% certutil -N -d /opt/fedora-ds/alias -P slapd-foo-

Press Enter twice.

rob

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux