Designating HTTP or HTTPS settings for Process Portal

The Business Space component is configured to be accessed by HTTPS by default. You can change the protocol from the default or back to the default by running a script. When only HTTPS connections are allowed, any HTTP requests are redirected to HTTPS.

About this task

This task describes how to change the protocol by running the configBSpaceTransport.py script.

Procedure

  1. Locate the install_root\BusinessSpace\scripts\configBSpaceTransport.py script.
  2. If you have a stand-alone server, run one of the following commands on the server:
    • To allow only HTTPS connections to Process Portal, enter the following command:
      wsadmin -lang jython -user user_name -password password 
              -f configBSpaceTransport.py -httpsonly
    • To allow HTTP connections to Process Portal, enter the following command:
      wsadmin -lang jython -user user_name -password password 
              -f configBSpaceTransport.py -allowhttp
    Tip: By default, the command applies to the current server and node. If you want to specify a different location, use the optional -serverName and -nodeName parameters.
  3. If you have a network deployment environment, then depending on the locations of the BSpaceEAR and IBM_BPM_Portal applications, you must run the configBSpaceTransport.py script one or two times.
    1. Run one of the following commands on the deployment manager profile to update the cluster where the BSpaceEAR application is deployed.
      • To allow only HTTPS connections to Process Portal, enter the following command:
        wsadmin -lang jython -user user_name -password password 
                -f configBSpaceTransport.py -httpsonly 
                -clusterName bspace_cluster
      • To allow HTTP connections to Process Portal, enter the following command:
        wsadmin -lang jython -user user_name -password password 
                -f configBSpaceTransport.py -allowhttp 
                -clusterName bspace_cluster

      Where bspace_cluster is the cluster where the Business Space application is deployed.

    2. If the IBM_BPM_Portal application is not deployed to the same cluster as the BSpaceEAR application, you must also run one of the following commands on the deployment manager profile to update the cluster where the IBM_BPM_Portal application is deployed.
      • To allow only HTTPS connections to Process Portal, enter the following command:
        wsadmin -lang jython -user user_name -password password 
                -f configBSpaceTransport.py -httpsonly 
                -clusterName application_cluster
                -bspaceClusterName bspace_cluster
      • To allow HTTP connections to Process Portal, enter the following command:
        wsadmin -lang jython -user user_name -password password 
                -f configBSpaceTransport.py -allowhttp 
                -clusterName application_cluster
                -bspaceClusterName bspace_cluster

      Where application_cluster is the cluster where the Process Portal application (IBM_BPM_Portal) is deployed and bspace_cluster is the cluster where the BSpaceEAR application is deployed.

Results

The required connection protocol for Process Portal is selected.