让Pound支持HTTPS

| |
[不指定 2007/12/28 16:49 | by ipaddr ]

1. What's Pound
http://www.apsis.ch/pound

The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively. Pound is distributed under the GPL - no warranty, it's free to use, copy and give away.

2. How to Use HTTPS
首先,生成证书:
openssl req -x509 -newkey rsa:1024 -keyout ipaddr.pem -out ipaddr.pem -days 365 -nodes
其次,增加一个Listen,在Pound.cfg里配置如下:
ListenHTTPS
 Address 0.0.0.0
 Port 443
 Cert "/usr/local/etc/ipaddr.pem"
End


注意,一定要加双引号.
Net | 评论(0) | 引用(0) | 阅读(6650)