User guide

Setting SSL for Certificate/Key Management Environments Configured with the SMEE Commands
9-7
# Slot information directory
SSLSlotDir d:/ssl/slotdir
# Token label
SSLTokenLabel secret_key_tok
# User PIN file
SSLUserPINFile d:/ssl/upinfile
#
# 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 C:/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 C:/www/secure1
# Using SSL
SSLExec on
# SSL protocol version
SSLVersion 2
# Operation control directory
SSLEnvDir d:/ssl/envdir
# Nickname of the site certificate
SSLCertName cert_for_purchase
# Create access log files
CustomLog "|ihsrlog –s logs/accesslog_secure1 1 5" common
# Create error log files
ErrorLog "|ihsrlog -s 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 C:/www/secure2
# Using SSL
SSLExec on
# SSL protocol version