APACHE 2 HTTPS - PowerPoint PPT Presentation

1 / 13
About This Presentation
Title:

APACHE 2 HTTPS

Description:

using data encryption. SSL (Secure socket Layer). Listen on port 443. ... apache2-ssl-certificate ... Make SSL Certificate. Restart APACHE2 # /etc/init.d ... – PowerPoint PPT presentation

Number of Views:31
Avg rating:3.0/5.0
Slides: 14
Provided by: lecturer6
Category:
Tags: apache | https | certify

less

Transcript and Presenter's Notes

Title: APACHE 2 HTTPS


1
APACHE 2 HTTPS
  • Secure HTTP With Apache Web Server

2
Web Server
  • Daemon to serve HTTP application
  • Listen on port 80

3
Type of Web Server
  • IIS (web server for html asp ).run on Windows
    OS
  • APACHE webserver (web server for
    html,php,asp,jsp, dsb).run on Windows and LINUX
    OS.

4
APACHE Web Server with HTTPS
  • HTTPS is secure type of HTTP
  • using data encryption
  • SSL (Secure socket Layer).
  • Listen on port 443.

5
HTTP vs HTTPS
6
Configuration HTTPS
  • Install apache2
  • apt-get install apache2
  • Make sites-file /etc/apache2/sites-available/defau
    lt
  • cp /etc/apache2/sites-available/default
    /etc/apache2/sites-available/website-ssl
  • Activate the site
  • a2ensite
  • type website-ssl

7
Configuration of HTTPS
  • Edit /etc/apache2/sites-enabled/website-ssl
  • vim /etc/apache2/sites-enabled/website-ssl
  • NameVirtualHost 443
  • ltVirtualHost 443gt
  • SSLEngine On
  • SSLCertificateFile /etc/apache2/ssl/apache.pem
  • ...
  • lt/VirtualHostgt

8
Configuration HTTPS
  • Add Listen port in file /etc/apache2/ports.conf
  • vim /etc/apache2/ports.conf
  • Add into newline
  • Listen 443
  • enable the ssl by
  • a2enmod ssl

9
Make SSL Certificate
  • Generate with command
  • apache2-ssl-certificate
  • Then you will be ask about country, state,
    company, section unit, domain, and email

10
Running HTTPS
  • Restart APACHE2
  • /etc/init.d/apache2 restart

11
Try the HTTPS
  • Open web browser
  • Type in the URL https//localhost/

12
look of HTTPS
13
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com