[Fedora-directory-users] Setting a self ssl certificate

Richard Megginson rmeggins at redhat.com
Fri Sep 14 01:30:17 UTC 2007


Steven Jones wrote:
> [root at 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 at vuwunicvfdsm001 slapd-vuwunicvfdsm001]# ./start-slapd
> Enter PIN for Internal (Software) Token:
> [root at vuwunicvfdsm001 slapd-vuwunicvfdsm001]# cd ../
>
> [root at vuwunicvfdsm001 fedora-ds]# ./startconsole -u admin -a
> http://vuwunicvfdsm001.vuw.ac.nz:54200/ &
> [1] 3244
> [root at vuwunicvfdsm001 fedora-ds]#
>
> Regards
>
> Steven 
>
> --
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>   

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20070913/37d168c1/attachment.bin>


More information about the Fedora-directory-users mailing list