Operating System - HP-UX
1838665 Members
5352 Online
110128 Solutions
New Discussion

start secure server with apache on reboot

 
SOLVED
Go to solution
lawrenzo_1
Super Advisor

start secure server with apache on reboot

Hello,

currently when our web console server is rebooted the secure shell service's do not start automatically, a key is required when the below command is run and the passowrd is not always know to the sys admin

# /opt/apache/bin/apachectl startssl

is there anyway that when the server reboots, apache starts with the secure apache and without a key being entered?

Thanks
hello
4 REPLIES 4
Ermin Borovac
Honored Contributor
Solution

Re: start secure server with apache on reboot

Try using SSLPassPhraseDialog directive in your config file.

SSLPassPhraseDialog exec:/path/to/program

See the following link for more information.

http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslpassphrasedialog
Neil Wilson_2
Valued Contributor

Re: start secure server with apache on reboot

Hello Chris

Have you tried to regen a key using the command: ssh-keygen ? (use ssh-keygen -t dsa for ssh2. not sure if you use ssh1 or 2 there)

When asked for a "passphrase", dont enter one. Just press enter twice.

remember your key will be in a file called identity.pub. do a cd ~ssh and search from there.

hope this helps..

NeilW.
lawrenzo_1
Super Advisor

Re: start secure server with apache on reboot

thanks chaps - used the first option as no user input required.

good to here from you Neil!
hello
lawrenzo_1
Super Advisor

Re: start secure server with apache on reboot

ty
hello