SYSXPERTS
« Part 3 »

Welcome Guest. Please Login or Register.
Nov 22nd, 2009, 11:38pm





Pages: 1  Reply Notify Send Topic Print
 thread  Author  Topic: Part 3  (Read 90 times)
Paul Valentino
Administrator
ImageImageImageImageImage

member is offline

Avatar




Homepage PM

Gender: Male
Posts: 46
xx Part 3
« Thread started on: Oct 30th, 2005, 4:21pm »
Quote

CREATE VIRTUAL SERVER:
Create file and Add following lines to /etc/apache2/myconf/myconf.conf:
#--------------------------------------------#
# SSL Virtual Host Context
#--------------------------------------------#
Listen 192.168.1.100:443
<VirtualHost 192.168.1.100:443>

# General setup for the virtual host
DocumentRoot /www
ServerAdmin webmaster@mydomain.com
ServerName www.myserver.com

# SSL Engine Switch:
# Enable/Disable SSL for this virtual host.
SSLEngine on

SSLCertificateFile /certs/server.crt

# Server Private Key:
# If the key is not combined with the certificate, use this
# directive to point at the key file. Keep in mind that if
# you've both a RSA and a DSA private key you can configure
# both in parallel (to also allow the use of DSA ciphers, etc.)

SSLCertificateKeyFile /certs/server.key
</VirtualHost>

<grinirectory /www>
Allowoverride none
Order allow,deny
Allow from all
</Directory>


SECURE THE CERTIFICATES AND PRIVATE KEYS:
chmod 400 for all .crt and .key files in /certs

RESTART APACHE:
$ /etc/init.d/apache2 restart

VERIFY SSL PORT IS LISTENING:
$ netstat -ltin should produce line as follows within output:
tcp 0 0 www.myserver.com:https *:* LISTEN

SETUP TIME SERVER:
$ apt-get install netdate
$ netdate tcp 128.2.136.71
Created /var/spool/cron/tabs/root with:
#update time via ntp server
0 3,9,15,21 *** /usr/sbin/netdate 128.2.136.71
Ran
$ chmod 600 /var/spool/cron/tabs/root
$ /etc/init.d/cron restart
User IP Logged

Pages: 1  Reply Notify Send Topic Print
« Previous Topic | Next Topic »

About Us Packages Services Solutions

Copyright© 2002-2004 SYSXPERTS LLC.

New Monthly Ad-Free Plan!

$6.99 Gets 50,000 Ad-Free Pageviews!
| Hookah | Free Shoutboxes |

This Board Hosted For FREE By Conforums ©
Get Your Own Free Message Board!