Ubuntu 14.04
Sponsored Link

SSL Settings2014/04/30

 
Configure SSL to use secure encrypt connection.
[1]
[2] Configure Apache2.
root@www:~#
vi /etc/apache2/sites-available/default-ssl.conf
# line 3: change to admin email

ServerAdmin
webmaster@srv.world
# line 32,33: change to the one created in [1]

SSLCertificateFile
/etc/ssl/private/server.crt

SSLCertificateKeyFile
/etc/ssl/private/server.key
root@www:~#
a2ensite default-ssl

Enabling site default-ssl.
To activate the new configuration, you need to run:
  service apache2 reload

root@www:~#
a2enmod ssl

Considering dependency setenvif for ssl:
Module setenvif already enabled
Considering dependency mime for ssl:
Module mime already enabled
Considering dependency socache_shmcb for ssl:
Enabling module socache_shmcb.
Enabling module ssl.
See /usr/share/doc/apache2/README.Debian.gz on how to configure SSL and create self-signed certificates.
To activate the new configuration, you need to run:
  service apache2 restart

root@www:~#
/etc/init.d/apache2 restart

 * Restarting web server apache2
   ...done.
  Access to the test page with a Web browser via HTTPS. The examample below is the Fiorefix. Following window is shown because Certificates is own created one, but it's no ploblem, Proceed to next.
  Click "Add exception" button.
  Click "Approve security exception" button.
  Just accessed via HTTPS.
Matched Content