Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a file named "password-tmp" in <PRODUCT_HOME>/ directory. Add "wso2carbon" (the primary keystore password) to this file and save. By default, the password provider assumes that both private key and keystore passwords are the same. If not, the private key password must be entered in the second line of the file.
  2. Now, start the server as a background process by running the following command.

    Code Block
    ./wso2server.sh start
  3. Keystore The keystore password will be picked up from the "password-tmp" file. Once the server starts, this file is automatically deleted from the file system. Make sure to add this temporary file back whenever you start the server as a background process. If you name of the password file "password-persist" instead of "password-tmp", then the file will not be deleted after the server starts. Therefore, it will not be required to provide the password in subsequent startups.

    Info

    Note that every time the server starts, the admin has to create a text file.

  4. Start the server by running the product start up script from the <PRODUCT_HOME>/bin/ directory by executing the following command:

    Code Block
    daemon. sh wso2server.sh -start