/etc/apache2/apache2.conf # Porneste gazduirea virtuala pe http NameVirtualHost 1.2.3.4:80 # Porneste gazduirea virtuala pe https NameVirtualHost 1.2.3.4:443.

Slides:



Advertisements
Similar presentations
Pakiti.
Advertisements

What all is there Inside the Apache web server. These slides are part of study material of LAMP course. Course conducted by Prof Rocky Jagtiani – Technical.
HTTPS/SSL Oleh: Idris Winarno. Persiapan Pastikan repository debian # vim /etc/apt/sources.list deb etch main contrib non-freehttp://kebo.vlsm.org/debian.
Apache2 HTTPS. 1. Install webserver Apache # apt-get install apache2 2. Buat direktori untuk menyimpan file https # mkdir /var/www/secure 3. Instalasi.
Web Server Onno W. Purbo Web server.
Introduction to OpenSSL Jing Dalhousie University.
Protecting Documents on the Web Friday Tech Briefing Timely Info for Power Users and Stanford's Technology Support Community Mark Branom ITSS Technology.
Apache ssl Objectives Contents Practical Summary Setup Apache + ssl
INSTALLATION & CONFIGURATION of HTTPD / APACHE Web Server.
Apache Access Controls. Ways to control Allow/Deny access control –By IP –By domain name Password –Apache managed passwords –Realms.
Access control and user management in Apache 1WUCM1.
Customizing X.509 Certificate Fields Charles D. Short CS526 – S2008 University of Colorado, Colorado Springs Dr. C. Edward Chow 5/5/2008CDS - UCCS CS526.
TLS/SSL Review. Transport Layer Security A 30-second history Secure Sockets Layer was developed by Netscape in 1994 as a protocol which permitted persistent.
SquirrelMail for Webmail AfNOG 2012 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Serrekunda, Gambia (Original Materials by Joelja)
Setting up a Subversion repository By: Matt Krass Last Updated: 4/11/07.
Apache Security with SSL Using FreeBSD SANOG VI IP Services Workshop July 18, 2005 Hervey Allen Network Startup Resource Center.
Virtual Hosts The apache server can handle multiple “web sites” at a time – a web service provider company may have multiple different sites to offer (see.
Secure Sockets Layer (SSL) Fred Schank Kevin Wetter.
SSL Technology Overview and Troubleshooting Tips.
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
Setting up Greenstone for your organization Course material prepared by Greenstone Digital Library Project University of Waikato, New Zealand andNational.
Advanced Settings Tran Anh Tuan Edit from Telerik Software Academy 1.
Appendix: Installing AMP (Apache + MySQL + PHP). Training Course, CS, NCTU 2 AMP  AMP A – Apache Web Server M – MySQL Database Server P – PHP Language.
The Linux Operating System Lecture 5: Apache Tonga Institute of Higher Education.
System Administration
Advanced PHP, Apache, and MySQL Settings Going Beyond the Basics Mario Peshev Technical Trainer Software University
Secure Access There are three distinct forms of secure access – authentication – verifying a user’s identity user log in via some mechanism (typically.
An introduction to Apache. Different Types of Web Servers Apache is the default web server for may Unix servers. IIS is Microsoft’s default web server.
Apache, PHP, MySQL Installation and configuration Web Programming with PHP,TITAS PROJECTIICT,BUET.
System Administration NFS & Web Servers. NFS SERVER.
Setting up NIS and HTTP. Network Information Service Reading: 1. Linux NIS HOWTO: howto/HOWTOhttp://
Public-key Infrastructure. Computer Center, CS, NCTU 2 Public-key Infrastructure  A set of hardware, software, people, policies, and procedures.  To.
Copyright © Stipe Tolj. All rights reserved. Apache Distributed Authoring Environments for collaborative web application development Stipe Tolj.
Web Services CSCI N321 – System and Network Administration Copyright © 2007,2008 by Scott Orr and the Trustees of Indiana University.
FAMP FreeBSD/Apache/MySQL/PHP. Computer Center, CS, NCTU 2 Outline  Introduction Apache MySQL PHP  Installation and Administration MySQL Apache PHP.
Set 13: Web Servers (configuration and security) (Chapter 21) IT452 Advanced Web and Internet Systems.
1 Apache and Virtual Sites and SSL Dorcas Muthoni.
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG 11 Kigali, Rwanda May 2010 Dorcas Muthoni Courtesy: Hervey Allen.
User authentication, passwords
Apache HTTP mod_ftp William A. Rowe, Jr. ASF Member, httpd and APR projects Sr. Software Engineer, Covalent Technologies.
Hands On Networking Network Applications Ram P Rustagi, ISE Dept Kundan Kumar, MCA Dept Manini Sahoor, MCA Dept Ravi Teja, MCA Dept Sourav.
Web Site Access Control with Apache Fort Collins, CO Copyright © XTR Systems, LLC Web Site Access Control Using the Apache Web Server Instructor: Joseph.
Apache Security Travis Jeffries. Introduction Authentication and Authorization Strict Access Methods Defending against Attacks Bad CGI Programs Apache.
 Introductions › Apache › MySQL › PHP  Installation › Apache + MySQL + PHP  Administration › Apache › MySQL  Appendix › lighttpd.
Securing the Apache Server and Apache Performance Tuning 1.
1 Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG X Cairo, Egypt May 2009 Hervey Allen.
Public-key Infrastructure. Computer Center, CS, NCTU 2 Cryptosystems  Cryptosystems Symmetric Asymmetric (public-key)  RSA Public key: n=3233, e=17.
Sessions, Cookies, &.htaccess IT 210. Procedural Issues  Quiz #3 Today!  Homework #3 Due Friday at midnight UML for Lab 4  Withdraw Deadline is Wed,
호스트 인증서 신청 방법 How to Request Host Certificate
Web Server SAS Lecture 6. Course Overview and Goals This course will teach you how to install, configure, and administer a Web server that runs on a Unix.
Multi-Domain Hosting Hosting multiple domains on one server using Apache John Beckett 1/16/2013.
XAMPP設定 - Apache.
Nikolay Kostov Telerik Corporation
1 Thuy, Le Huu | Pentalog VN Web Services Security.
Authentication Names and Passwords Names and Passwords Also can use Groups Also can use Groups Webmaster can “require” authentication Webmaster can “require”
Web Technology – Web Server Setup : Chris Uriarte Meeting 4: Advanced Topics, Continued: Securing the Apache Server and Apache Performance Tuning Rutgers.
Web Server (Apache httpd ) 1. 2 Apache Web Server A PAtCHy server: developed by the Apache group History- First.
CITA 310 Section 5 Virtual Hosts and Virtual Directories (Selected Topics from Textbook Chapter 6)
SlideSet #18: HTTP Authentication
Qmail Installation. Build Qmail tar zxvf qmailrocks.tar.gz tar zxvf qmailrocks.tar.gz Edit and Run : Edit and Run : /test/qmailrocks/scripts/install/qmr_install_linux-s1.script.
Multi-Domain Hosting CPTE 212 “Missing Slides” for 1/22/2015 John Beckett.
(c) Elizabeth Sterling * Please copy, share and reuse * sparkthing.com What Is Apache? ● A “Patchy” Web Server ● The most common HTTP server on the 'Net.
Apache with SSL building from source Apache with ssl support should be the basic platform for providing web services... There are several different implementations.
Apache with SSL building from source
Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess
Unix System Administration
Public-key Infrastructure
Public-key Infrastructure
Public-key Infrastructure
Presentation transcript:

/etc/apache2/apache2.conf # Porneste gazduirea virtuala pe http NameVirtualHost :80 # Porneste gazduirea virtuala pe https NameVirtualHost :443 Listen 80 Listen 443 /etc/apache2/ports.conf

ServerName domeniu.ro ServerAlias ServerAdmin DocumentRoot /var/gazduire/domeniu.ro Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all Alias /soft/ "/soft/“ Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from /etc/apache2/sites-available/banca6.ro a2ensite domeniu.ro

ServerName mail.domeniu.ro ServerAlias webmail.domeniu.ro ServerAdmin DocumentRoot /var/gazduire/mail.domeniu.ro Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all SSLEngine On SSLCertificateFile /etc/apache2/ssl/mail.domeniu.crt SSLCertificateKeyFile /etc/apache2/ssl/mail.domeniu.key /etc/apache/sites-available/mail.domeniu.ro a2ensite mail.domeniu.ro

Create a file /var/gazduire/domeniu.ro/.htaccess AuthName "Add your login message here.“ AuthType Basic AuthUserFile /var/gazduire/domeniu.ro/.htpasswd require valid-user htpasswd -c.htpasswd name-of-user

How To Create Self Signed Certificate openssl genrsa -des3 -out mail.domeniu.ro.key 4096 Remove the passphrase from the key file. mv mail.domeniu.ro.key mail.domeniu.ro.key.secure openssl rsa -in server.key.secure -out server.key Generate the CA file. openssl req -new -x509 -days 365 -key mail.domeniu.ro.key -out mail.domeniu.ro.ca Generate the CSR file openssl req -new -key mail.domeniu.ro.key -out mail.domeniu.ro.csr Generate the CRT file. openssl x509 -req -days 365 -in mail.domeniu.ro.csr -signkey mail.domeniu.ro.key -out mail.domeniu.crt