User guide

Setting SSL for Certificate/Key Management Environments Configured with the SMEE Commands
9-9
#
# Virtual host not using SSL (Port number: 80)
#
# Sets up a virtual host
<VirtualHost 192.168.0.1:80>
# Host name
ServerName main.example.com
# Root directory open to the public
DocumentRoot /home/www/public
</VirtualHost>
#
# Virtual host using SSL (Port number:443)
#
# Sets up a virtual host
<VirtualHost 192.168.0.1:443>
# Host name
ServerName main.example.com
# Root directory open to the public
DocumentRoot /home/www/secure1
# Using SSL
SSLExec on
# SSL protocol version
SSLVersion 2
# Operation control directory
SSLEnvDir /home/ssl/envdir
# Nickname of the site certificate
SSLCertName cert_for_purchase
# Create access log files
CustomLog "|/opt/FJSVihs/bin/ihsrlog –s /opt/FJSVihs/logs/accesslog_secure1
1 5" common
# Create error log files
ErrorLog "|/opt/FJSVihs/bin/ihsrlog -s /opt/FJSVihs/logs/errorlog_secure1 1
5"
</VirtualHost>
#
# Virtual host using SSL (Port number:8443)
#
# Sets up a virtual host
<VirtualHost 192.168.0.1:8443>
# Host name
ServerName main.example.com
# Root directory open to the public
DocumentRoot /home/www/secure2
# Using SSL
SSLExec on
# SSL protocol version
SSLVersion 2-3
# Level of client certification
SSLVerifyClient require
# Operation control directory
SSLEnvDir /home/ssl/envdir