Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

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

1 Answer 1

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