Operating System - HP-UX
1825805 Members
2595 Online
109688 Solutions
New Discussion

Starting RHDS admin-server without intervention

 

Starting RHDS admin-server without intervention

This has been bugging me for a while now ...

According to the docs, to start a directory server instance secured by SSL without command-line intervention you should supply the password in /etc/opt/dirsrv/slapd-/pin.txt in the form "Internal (Software) Token:password ... and this works just fine.

However, the instructions for doing the same thing for the admin-server, i.e.

echo "Internal (Software) Token:password" > /etc/opt/dirsrv/admin-serv/password.conf

Then edit the NSSPassPhraseDialog line nss.conf to NSSPassPhraseDialog file:/etc/opt/dirsrv/admin-serv/password.conf

... does not work. I know I could get round this using an expect script, but I would rather do it the right way.

Can anyone see what I may be doing wrong?

I am using RHDS 8.0 on HP-UX 11.11 and in the above examples the password is "password".
4 REPLIES 4
Shinji Teragaito_1
Respected Contributor

Re: Starting RHDS admin-server without intervention

# cat /etc/opt/dirsrv/admin-serv/password.conf
internal:password
#

Please restart your admin server.

Re: Starting RHDS admin-server without intervention

Thanks for the response, I saw that in the 8.1 docs and tried it, but it still didn't work ... any other suggestions?
Shinji Teragaito_1
Respected Contributor

Re: Starting RHDS admin-server without intervention

How about this ?
http://directory.fedoraproject.org/wiki/Howto:SSL

This page has the link to the following tool:
http://github.com/richm/scripts/blob/master/setupssl2.sh?raw=true

Hope this helps you !!
Shinji Teragaito_1
Respected Contributor

Re: Starting RHDS admin-server without intervention

NOTE: I didn't run setupssl2.sh itself because I don't have sha1sum.

I executed some commands manually in this tool.
I was not asked to enter any password when starting adminserv and a directory instance.