Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://wso2.org/jira/browse/DOCUMENTATION-6506

...

  1. Create the Server Key.

    Code Block
    $sudo openssl genrsa -des3 -out <key_name>.key 1024
  2. Certificate Signing Request.

    Code Block
    $sudo openssl req -new -key <key_name>.key -out server.csr
  3. Remove the password.

    Code Block
    $sudo cp server<key_name>.key <key_name>.key.org 
    $sudo openssl rsa -in <key_name>.key.org -out <key_name>.key
  4. Sign your SSL Certificate.

    Code Block
    $sudo openssl x509 -req -days 365 -in server.csr -signkey <key_name>.key -out <certificate_name>.crt
  5. Copy the key and certificate files generated in above step 4 to /etc/nginx/ssl/ location. 

...