Home

zhangyiqun

Thoughts, stories and ideas.

2014年以前 About Feed

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之类的错误


zhangyiqun

scribble

2014年以前 About Feed