IBM Support

How to enable HTTP for Analytics Content Hub

How To


Summary

This document explains how to change the default ports and force Analytics Content Hub to use HTTP instead of HTTPS

Steps

1. In Services, stop IBM_ACH - node 1 service
2. In File Explorer, navigate to <Analytics Content Hub>/app/node1/tomcat/webapps/theia/WEB-INF
3. Edit web.xml
4. Comment out these lines by adding <!-- at the beginning and --> at the end:
   <security-constraint>
        <web-resource-collection>
            <web-resource-name>Entire Application</web-resource-name>
            <url-pattern>/*</url-pattern>
        </web-resource-collection>
        <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
        </user-data-constraint>
    </security-constraint>
See example:
image-20230604151325-1
5. Save
6. In File Explorer, navigate to <Analytics Content Hub>/app/node1/tomcat/webapps/theia/META-INF
7. Edit context.xml
8. Comment out this line:
<CookieProcessor sameSiteCookies="none" />
See example:
image-20230604151422-2
9. Save
10. In File Explorer, navigate to <Analytics Content Hub>/app/node1/tomcat/conf
11. Edit theia.properties
Comment out the motio.theia.contentSecurityPolicy parameter, like this: #motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:*; img-src http: https: blob: data:
On the next line, add this: motio.theia.contentSecurityPolicy=default-src 'self' 'unsafe-eval' 'unsafe-inline' https://*:* http://*:*; img-src http: https: blob: data:
See example: 
image-20230604151904-3
12. Save
13. In Services, start IBM_ACH - node1
14. You can now launch Analytics Content Hub with http, for example http://<server-name>:9080/theia

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCCFS","label":"IBM Analytics Content Hub"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
05 June 2023

UID

ibm17001235