If you are using Apache as your load balancer server, you
must generate a key pair and specify the keystore.
Procedure
-
Log on to the load-balancing server as a non-root user
with administrative privileges.
- On Windows computers, start a
Command Prompt window with the Run as administrator option. On Linux® computers, open a shell.
-
Go to the /bin directory in the web server home directory to use as
the keystore.
-
To generate a certificate request, enter the following
command :
- For Windows operating systems:
openssl req -new -sha1 -newkey rsa:1024 -config %APACHE_HOME%\conf\openssl.cnf -nodes -keyout server_pkey.key -out certreq.csr
- For Linux operating systems:
openssl req -new -sha1 -newkey rsa:1024 -config $APACHE_HOME\conf\openssl.cnf -nodes -keyout server_pkey.key -out certreq.csr
-
Open the httpd.conf file in a text editor and uncomment following
line:
LoadModule ssl_module modules/mod_ssl.so Secure (SSL/TLS) connections Include conf/extra/httpd-ssl.conf