APACHE 2 HTTPS Secure HTTP With Apache Web Server By Dhoto
Web Server <ul><li>Daemon to serve HTTP application </li></ul><ul><li>Listen on port 80 </li></ul>
<ul><li>IIS (web server for html & asp ).run on Windows OS </li></ul><ul><li>APACHE webserver (web server for html,php,asp...
<ul><li>HTTPS is secure type of HTTP </li></ul><ul><li>using data encryption </li></ul><ul><li>SSL (Secure socket Layer). ...
HTTP vs HTTPS
<ul><li>Install apache2 </li></ul><ul><ul><li>:~#apt-get install apache2 </li></ul></ul><ul><li>Make sites-file  /etc/apac...
<ul><li>Edit  /etc/apache2/sites-enabled/website-ssl   </li></ul><ul><ul><li>:~# vim /etc/apache2/sites-enabled/website-ss...
<ul><li>Add Listen port in file  /etc/apache2/ports.conf </li></ul><ul><ul><li># vim /etc/apache2/ports.conf </li></ul></u...
<ul><li>Generate with command : </li></ul><ul><ul><li>:~# apache2-ssl-certificate   </li></ul></ul><ul><li>Then you will b...
<ul><li>Restart APACHE2 </li></ul><ul><ul><li># /etc/init.d/apache2 restart </li></ul></ul>Running HTTPS
<ul><li>Open web browser </li></ul><ul><li>Type in the URL  https://localhost/ </li></ul>Try the HTTPS
look of HTTPS
look of HTTP
Upcoming SlideShare
Loading in …5
×

APACHE 2 HTTPS.ppt

2,587 views

Published on

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,587
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
90
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

APACHE 2 HTTPS.ppt

  1. 1. APACHE 2 HTTPS Secure HTTP With Apache Web Server By Dhoto
  2. 2. Web Server <ul><li>Daemon to serve HTTP application </li></ul><ul><li>Listen on port 80 </li></ul>
  3. 3. <ul><li>IIS (web server for html & asp ).run on Windows OS </li></ul><ul><li>APACHE webserver (web server for html,php,asp,jsp, dsb).run on Windows and LINUX OS. </li></ul>Type of Web Server
  4. 4. <ul><li>HTTPS is secure type of HTTP </li></ul><ul><li>using data encryption </li></ul><ul><li>SSL (Secure socket Layer). </li></ul><ul><li>Listen on port 443. </li></ul>APACHE Web Server with HTTPS
  5. 5. HTTP vs HTTPS
  6. 6. <ul><li>Install apache2 </li></ul><ul><ul><li>:~#apt-get install apache2 </li></ul></ul><ul><li>Make sites-file /etc/apache2/sites-available/default </li></ul><ul><ul><li>:~# cp /etc/apache2/sites-available/default /etc/apache2/sites-available/website-ssl </li></ul></ul><ul><li>Activate the site </li></ul><ul><ul><li>:~# a2ensite </li></ul></ul><ul><ul><li>type “website-ssl” </li></ul></ul>Configuration HTTPS
  7. 7. <ul><li>Edit /etc/apache2/sites-enabled/website-ssl </li></ul><ul><ul><li>:~# vim /etc/apache2/sites-enabled/website-ssl </li></ul></ul><ul><li>NameVirtualHost *:443 </li></ul><ul><li><VirtualHost *:443> </li></ul><ul><li>SSLEngine On </li></ul><ul><li>SSLCertificateFile /etc/apache2/ssl/apache.pem </li></ul><ul><li>... </li></ul><ul><li></VirtualHost> </li></ul>Configuration of HTTPS
  8. 8. <ul><li>Add Listen port in file /etc/apache2/ports.conf </li></ul><ul><ul><li># vim /etc/apache2/ports.conf </li></ul></ul><ul><li>Add into newline : </li></ul><ul><ul><li>Listen 443 </li></ul></ul><ul><li>enable the ssl by </li></ul><ul><ul><li># a2enmod ssl </li></ul></ul>Configuration HTTPS
  9. 9. <ul><li>Generate with command : </li></ul><ul><ul><li>:~# apache2-ssl-certificate </li></ul></ul><ul><li>Then you will be ask about country, state, company, section unit, domain, and email </li></ul>Make SSL Certificate
  10. 10. <ul><li>Restart APACHE2 </li></ul><ul><ul><li># /etc/init.d/apache2 restart </li></ul></ul>Running HTTPS
  11. 11. <ul><li>Open web browser </li></ul><ul><li>Type in the URL https://localhost/ </li></ul>Try the HTTPS
  12. 12. look of HTTPS
  13. 13. look of HTTP

×