Pound : SSL Settings2015/01/31 |
Configure Pound with SSL.
The connection between Pound and Clients are encrypted with SSL. ( Pound - backends are normal ) This example based on the environment like follows. | --------+-------------------------------------------------------------------- | +-------------------+--------------------+--------------------+ |10.0.0.30 |10.0.0.51 |10.0.0.52 |10.0.0.53 +------+-----+ +-------+------+ +-------+------+ +-------+------+ | Frontend | | Backend#1 | | Backend#2 | | Backend#3 | | Pound | | Web Server | | Web Server | | Web Server | +------------+ +--------------+ +--------------+ +--------------+ |
[1] | Create SSL certificates. |
[root@dlp ~]# cd /etc/pki/tls/certs
[root@dlp certs]#
[root@dlp certs]# openssl req -x509 -nodes -newkey rsa:2048 -keyout /etc/pki/tls/certs/pound.pem -out /etc/pki/tls/certs/pound.pem Generating a 2048 bit RSA private key ......++++++ .......++++++ writing new private key to '/etc/pki/tls/certs/pound.pem' ----- You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]: JP # country State or Province Name (full name) [Some-State]: Hiroshima # state Locality Name (eg, city) []: Hiroshima # city Organization Name (eg, company) [Internet Widgits Pty Ltd]: GTS # company Organizational Unit Name (eg, section) []: Server World # department Common Name (eg, YOUR name) []: dlp.srv.world # server's FQDN Email Address []: xxx@srv.world # admin email chmod 600 pound.pem
|
[2] | Configure Pound for SSL. |
[root@dlp ~]#
vi /etc/pound.cfg # add like follows ListenHTTP Address 0.0.0.0 Port 80 End ListenHTTPS Address 0.0.0.0 Port 443 Cert "/etc/pki/tls/certs/pound.pem" End /etc/rc.d/init.d/pound restart Stopping Pound: [ OK ] Starting Pound: starting... [ OK ] |
[3] | Make sure all works fine to access to the frontend server from a Client with HTTPS like follows. |
Sponsored Link |
|