I have an apache web server running on Ubuntu 10.04 and I would like to switch everything to HTTPS.
|
feedback
|
|
Apache2 makes this very easy with the additional tools packaged with it. If you have the apache2-common package installed, you can enable the
Apache2 also includes a command to help you easily generate self-signed certificates called
Keep in mind, users will receive this infamous warning when viewing your site if you use a self-signed certificate:
Use the following 4 statements in your Apache configuration (
The Ensure we are listening on port 443 by modifying
Finally you must restart Apache2 to initiate the changes:
Additional Fun: Configure HTTP requests on port 80 to redirect to port 443 with Note: Some of this data is from past experience with Debian/Ubuntu systems, for the most accurate instructions there is a guide for 10.04 on the Ubuntu website. | ||||
|
feedback
|
|
I'm not telling you how to do this, it's beyond the scope of this forum IMO(1). I'm only saying what I think you can do. There really isn't an easy way to do this. You really have to know a bit about apache configuration and dig down in the configuration files. In addition to that you need a SSL certificate The easiest way would be to tell your web server to stop listening to port 80(2) and only listen to port 443. A better solution would be to have apache redirect all connections to port 80 to port 443 (1) And beyond my expertise | |||
feedback
|
