tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Automating password input to "apachectl..."
@ 2003-05-18  6:10 Harihar Krishnan
  0 siblings, 0 replies; only message in thread
From: Harihar Krishnan @ 2003-05-18  6:10 UTC (permalink / raw)




> 	Thanks, gentlemen. I recd. some solutions (looks like no
> straight-forward solution exists) as follows (thanks to Kai Lanz, Chris
> Adams, Mike Caplin, A. Gutierrez & Dr. Thomas P. Blinn):
> 
> 		1. Use the dialog option to provide the passphrase
> automatically. In your apache-ssl httpd.conf file, comment out the
> "SSLPassPhraseDialog builtin" line and replace it with something like
> 
> 		        SSLPassPhraseDialog exec:/path/to/apache-ssl/sbin/pp
> 
> 		where "pp" is an executable shell script that just echoes
> the passphrase.  This is insecure because now you have a file on your
> system containing your passphrase in plaintext.
> 
> 		A little poking around probably revealed that most people
> use method 1.
> 
> 		2. Convert the certificate to a non-password cert, do:
> 
> 			openssl rsa -in server.key-with_pass -out
> server.key-no_pass
> 
> 		where server.key is your private key.
> 
> 		4. Start it from an "expect" script; while "expect" is not
> part of the standard base Tru64 UNIX package, it may be included in the
> open source software CD and certainly can be had from one or more of the
> open source web repositories. 
> 
> 
> 		Harihar K
> **************************************************************************
> ******************************
> -----Original Message-----
> >   
> >   		Dear Experts,
> >   
> >   		We have a situation where our Web Server starts 
> >   up in SSL
> >   mode using the command "apachectl startssl". This command 
> >   needs a password
> >   to be passed on everytime the Web Server is started. We are 
> >   currently trying
> >   to automate this so that when the machine is booted up, the 
> >   web server also
> >   starts up without explicitly asking for the password. But 
> >   we are lost on how
> >   to pass the password to the above command in our startup script. Any
> >   suggestions please. Thanks.
> >   
> >   		Harihar K
> >   


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-18  6:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-18  6:10 SUMMARY: Automating password input to "apachectl..." Harihar Krishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox