Versions Compared

Key

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

...

  1. Start the server by running the product start up script from the <PRODUCT<WSO2_OB_KM_HOME>/bin / directory and <WSO2_OB_APIM_HOME>/bin directories as shown below.

    Code Block
    ./wso2server.sh 
  2. When you run the startup script, the following message will be prompted before starting the server: "[Enter KeyStore and Private Key Password :]". This is because, in order to connect to the default user store, the encrypted passwords should be decrypted. The administrator starting the server must provide the private key and keystore passwords using the command-line. Note that passwords are hidden from the terminal and log files.

...

  1. Create a new file in the <PRODUCT<WSO2_OB_KM_HOME>  directoryand <WSO2_OB_APIM_HOME> directories. The file should be named according to your OS as explained below.
    • For Linux: The file name should be password-tmp.
    • For Windows: The file name should be password-tmp.txt.
    Info

    When you start the server (see step 3 below), the keystore password will be picked from this new file. Note that this file is automatically deleted from the file system after the server starts. Therefore, the admin has to create a new text file every time the server starts.

    Alternatively, if you want to retain the password file after the server starts, the file should be named as follows:

    • For Linux: The file name should be password-persist.
    • For Windows: The file name should be password-persist.txt.
  2. Add "wso2carbon" (the primary keystore password) to the new 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.
  3. Now, start the server as a background process by running the following command.

    Code Block
    ./wso2server.sh start
  4. Start the server by running the product start-up script from the <PRODUCT<WSO2_OB_KM_HOME>/bin  directory by and <WSO2_OB_APIM_HOME>/bin directories by executing the following command:

    Code Block
    daemon. sh wso2server.sh -start