Home

zhangyiqun

Thoughts, stories and ideas.

Notes Blog Archives About
21 Jun 2010

Apache SSL配置

<VirtualHost *:443>

ServerName www.zhangyiqun.net

ServerAlias zhang.net

DocumentRoot /xxx

ErrorLog /xxx

# Possible values include: debug, info, notice, warn, error, crit,

# alert, emerg.

LogLevel warn

#SSL

SSLEngine on

SSLCACertificateFile /etc/apache2/ca.txt

SSLCertificateFile /etc/ssl/crt/www.vpn38.net.crt

SSLCertificateKeyFile /etc/ssl/crt/private.key

</VirtualHost>

需要开启ssl模块,否则会出现ssl command not found之类的错误

Notes Blog Archives About