Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
Apache Virtual Hosts with SSL

How will i activate or enable SSL in my website or web programs. I am using php5 and apache server.

share|improve this question

migrated from stackoverflow.com Jun 1 '10 at 15:21

This question came from our site for professional and enthusiast programmers.

marked as duplicate by duffbeer703, voretaq7, splattne Jun 1 '10 at 21:09

This question was marked as an exact duplicate of an existing question.

2  
Do you have root access or are you with shared hosting or managed hosting provider? – Alistair Jun 1 '10 at 15:09

In modern Linux, such as for example Ubuntu, it's just

sudo ln -s /etc/apache2/mods-available/ssl.* /etc/apache/mods-enabled

And then just restart it.

sudo /etc/init.d/apache2 restart

Nothing needed for PHP and webapps, for them SSL is transparent.

share|improve this answer