This seems about 180deg from normal. Install Apache with mod_ssl. Start it without invoking SSL .. if you get a certificate, you'll want to hand-walk it into the right place, chown it to root, and make it perm'd to 0400 anyway .. then a quick graceful stop and startssl .. *poof*, Bob's yer uncle.

Best~
-d

SANDER SMITH wrote:
I'm looking to do something, but I'm not sure it's even possible. Maybe someone 
can steer me in the right direction.
Let's say that I have a copy of apache running on my server. I also have a brand new SSL certificate that was signed by a CA. I'd like to write some code to programmatically enable SSL on the server by means of mod_ssl. When I think about the steps necessary, I need to: 1. Copy the mod_ssl files to the proper place.
  2. Update the mod_ssl config files to point to my SSL certificate.
  3. Update the apache config files to recognize and run mod_ssl
  4. Cause apache to suddenly start to use mod_ssl
Now steps 1,2, and 3 seem pretty straight forward. Step 4 is a huge handwave, and I'm hoping someone can give me some insight. Is it even possible? Does it require apache to be restarted? Is there some programmatic way to get apache to restart?
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      modssl-users@modssl.org
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to