Welcome to WSO2 Identity Server v3.2.3!

[Download] | [ Documentation Home] | [Release Note]

WSO2 Identity Server, v3.2.3 - Deploying in Production

Following changes should be applied on a fresh Identity Server instance. (i.e. Do not start the Identity Server until the configurations are finalized)

Step 1: Changing the default key store

Open wso2is-3.2.3/repository/conf/carbon.xml file

This private key is used for the HTTPS channel and for the token issuer to sign the issued tokens. This information has to be changed in two files.

Following section of the carbon.xml should be updated to match your private key information. The private key must be available in a keystore of type "JKS" or "PKCS12". For more information on key stores please see here .

      Security configurations
            KeyStore which will be used for encrypting/decrypting passwords
            and other sensitive information.
            <!-- Keystore file location-->
            <!-- Keystore type (JKS/PKCS12 etc.)-->
            <!-- Keystore password-->
            <!-- Private Key alias-->
            <!-- Private Key password-->

           The directory under which all other KeyStore files will be stored

Step 2: Changing the host name

Open wso2is-3.2.3/repository/conf/carbon.xml file

The host name of the Identity Provider must be changed to match the "Common Name" of the certificate of the private key.

       Host name of the machine hosting this server
       e.g. www.wso2.org



Step 3: Changing the HTTP/HTTPS ports

Open wso2is-3.2.3/repository/conf/mgt-transports.xml file

The HTTP and HTTPS port also can be changed by changing the following configuration elements.

    <transport name="http" class="org.wso2.carbon.server.transports.http.HttpTransport">
        <parameter name="port">9763</parameter>

    <transport name="https" class="org.wso2.carbon.server.transports.http.HttpsTransport">
        <parameter name="port">9443</parameter>

Step 4: Changing the OpenID Provider configurations

Open wso2is-3.2.3/repository/conf/identity.xml file

OpenID provider server url can be changed by changing the following configuration element. Once this is set, OpenIDs will be generated in the following format [OpenIDUserPattern]/[User Name].

e.g: https://localhost:9443/openid/bob

Note: Both the configuration must have the HTTPS port