O'Reilly logo

Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition by Matthew Helmke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

HTTPS

The mod_ssl module listed above gives Apache2 the ability to encrypt communications using openssl. What this means is that your website can be accessed using https:// instead of just http:// and all communications to and from the site will be encrypted. The module is included in the main apache2-common package, so if you installed that from the Ubuntu repositories when you installed Apache, you don’t have to install additional apache packages.

Enter this to enable the module:

matthew@seymour:~$ sudo a2enmod ssl

This includes a default HTTPS configuration file, found in /etc/apache2/sites-available/default-ssl. For HTTPS to work, a certificate and a key are required. The default configuration includes a certificate ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required