...
Note |
---|
|
Create the Server Key.
Code Block $sudo openssl genrsa -des3 -out <key_name>.key 1024
Certificate Signing Request.
Code Block $sudo openssl req -new -key <key_name>.key -out server.csr
Remove the password.
Code Block $sudo cp <key_name>.key <key_name>.key.org $sudo openssl rsa -in <key_name>.key.org -out <key_name>.key
Sign your SSL Certificate.
Code Block $sudo openssl x509 -req -days 365 -in server.csr -signkey <key_name>.key -out <certificate_name>.crt
Copy the key and certificate files generated in above step 4 to
/etc/nginx/ssl/
location.
You have now configured the load balancer to handle requests sent to am.wso2.com
and to distribute the load among the worker nodes in the worker
sub-domain of the wso2.am.domain
cluster.
...