Re: Setting a self ssl certificate

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

 



Steven Jones wrote:
[root@vuwunicvfdsm001 slapd-vuwunicvfdsm001]# ./start-slapd
Enter PIN for Internal (Software) Token:

After installing a ssl certificate I now need to enter a password every
time I start it, how to negate this need?
1) You can use modutil to remove the password for your key/cert database:
modutil -dbdir . -dbprefix slapd-serverID- -changepw 'NSS Certificate DB'
Then just hit Enter for the new password.
2) You can create a pin.txt file
cat > slapd-serverID-pin.txt
Internal (Software) Token:thepasswordforyourkeydb
^D
make sure the pin.txt file is owned by your server user (e.g. chown nobody:nobody) and is mode 0400
[root@vuwunicvfdsm001 slapd-vuwunicvfdsm001]# ./start-slapd
Enter PIN for Internal (Software) Token:
[root@vuwunicvfdsm001 slapd-vuwunicvfdsm001]# cd ../

[root@vuwunicvfdsm001 fedora-ds]# ./startconsole -u admin -a
http://vuwunicvfdsm001.vuw.ac.nz:54200/ &
[1] 3244
[root@vuwunicvfdsm001 fedora-ds]#

Regards

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

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