Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Apache and SSL question

Status
Not open for further replies.
Oct 27, 2002
21
US
Greetings all,
I am trying to convert my apache server so that it will all https connections. I have done a bunch of google searches to find out if I can make it SSL capable without resinstalling it. I am running:
Server version: Apache/2.0.46
Server built: Sep 1 2005 09:10:34

I do have openssl on the server but when I look in the httpd.conf file, i don't see any lines that contain SSLCertificateKeyFile:
So I don't think I am setup to run https.

We are currently serving many pages on this server so would like to avoid taking it all the way down or reinstalling apache as I don't want users to lose access.

Can someone point me to a good internet read on enabling SSL on apache especially if there is a way to do it without starting over.

THANKS IN ADVANCE
Wally
 
Do you have an ssl.conf file, perhaps in an httpd/conf.d folder?

Or look in your httpd.conf file for an include file like:
Include conf.d/*.conf
Then follow that path.
 

What OS?

If you don't run ApacheSSL or have mod_ssl installed it won't work. I usually build the whole thing, but if you have mod_so (probably) then you can just find the mod_ssl and link it up (I am pretty sure).

Since you aren't running SSL now, you could just install another instance of Apache running SSL. You have to be a bit careful that you specify a different ServerRoot so logs, pid files are different from your non-SSL version, but you can use the same DocumentRoot. This is a good way to test anyway.

I have converted apache sites and what is useful is to know exactly the options that are being used. One aan query httpd, like ./httpd -L (or is it -l?) or -V and -D.
I am not absolutely sure about those options until I get to work. You will need to replicate these if you decide to build apache, but they are good to keep in a file for reference.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top