Setting up SSL Configuration in Calyx RIM for Analytics
Due to the complexity of configuring Calyx RIM for use in an SSL (Secure Sockets Layer) environment, all SSL configurations must be done by the Client Enablement team. Outside RSA certificates may be involved, several browser-specific configuration modifications are necessary, and there are multiple ways to set up SSL, some of which Calyx RIM may not be able to support.
Warning: SSL configurations are supported only when they are installed by Client Enablement, and only defects that can be duplicated on a normal Calyx RIM installation will be addressed.
Note: SSL configuration is not required. These steps are needed to setup this security feature. Because WebFOCUS Express uses a standard tomcat 7x application container, the instructions to configure SSL are at this location:
http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html
-
Create a keystore file to store the server's private key and self-signed certificate by executing the following:
- Open an administrative command prompt and change the directory to the location of the keytool: install location\WebFOCUS_Express80\jre\bin\
- At the prompt, type: keytool -genkey -alias tomcat -keyalg RSA and press Enter.
-
Complete the process by entering the following values:
- New keystore Password
- Re-enter Password
- Calyx RIM for Analytics server name
- Your Organizational Unit
- Your Organization
- Your City
- Your State
- Your two letter Country Code
- Confirm values are correct by entering Yes
- New password for Tomcat – to use same password as keystore, press Enter.
Note: The Calyx RIM for Analytics server name is entered when prompted for Your Name.
- Verify the new .keystore file is created in the location C:\users\user name\.keystore
- Move the .keystore file to the install location\WebFOCUS_Express80\tomcat folder.
-
From the same administrative command prompt type:
keytool -export -keystore ..\..\tomcat\.keystore -alias tomcat -file webfocus.cer
- Press Enter
- Type exit and press Enter
- Stop the WebFOCUS Express 80 services.
- Open WordPad as Administrator.
-
Using WordPad, navigate to:
install location\WebFOCUS_Express80\tomcat\conf
- Open the server.xml file for editing
-
In the
server.xml file, uncomment the
SSL HTTP/1.1 Connector entry in the file:
<Connector port="25001" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> - Modify the maxThread value from 150 to 200.
-
Add the
keystoreFile and your
keystorePassword where indicated:
<Connector port="25001" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="200" scheme="https" secure="true" keystoreFile=".keystore" keystorePass="<password>" clientAuth="false" sslProtocol="TLS" />Note: keystorePass must be the password value entered when the keytool was used to create the .keystore file. -
Disable the original connection information by commenting out the following lines:
<Connector connectionTimeout="20000" maxPostSize="0" port="25000" protocol="HTTP/1.1" redirectPort="25001" server=" " useBodyEncodingForURI="true"/> - Save your changes and close the server.xml file.
-
From WordPad, navigate to:
install location\WebFOCUS_Express80\tomcat\conf
- Open the web.xml file for editing
-
Add the following lines after the last
</servlet-mapping> tag in the
web.xml file:
<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> - Save your changes and close the web.xml file.
- Close WordPad.
- Run WordPad as an administrator and open install location\WebFOCUS_Express80\WebFOCUS\ReportCaster\bin\dserver.xml.
-
Change these values (existing server name is not changed):
- <url>http://<server name>:25000/ibi_apps/WFServlet</url> is changed to: <url>https://<server name>:25001/ibi_apps/WFServlet</url>
- <default_url>http://<server name>:25000/ibi_apps/library/report.rc</default_url> is changed to: <default_url>https://<server name>:25001/ibi_apps/library/report.rc</default_url>
- <LIBRARYURL>http://<server name>:25000/ibi_apps/library/report.rc</LIBRARYURL> is changed to: <LIBRARYURL>https://<server name>:25001/ibi_apps/library/report.rc</LIBRARYURL>
- Save the file
- Close WordPad
-
Restart the WebFocus services. After this, users will be able to connect to the Web client over the default SSL port for Tomcat - 25001.
https://<server>:25001/ibi_apps/
- From an administrative command prompt run: install location\WebFOCUS_Express80\WebFOCUS\ReportCaster\bin\importcfg.bat
- Copy install location\WebFOCUS_Express80\jre\bin\webfocus.cer to the Calyx RIM Server C:\InSightManager folder.
-
Open a command prompt on the
Calyx RIM server and type:
cd “%JAVA_HOME%\jre\lib\security
- Press Enter
-
From that command prompt type:
..\..\bin\keytool -importcert -alias webfocus -keystore cacerts –file C:\InSightManager\webfocus.cer0
-
Press
Enter
The password is changeit when asked
- When asked Trust this certificate, enter Yes and press Enter.
-
Press
Enter
-
Update the
Calyx RIM system
insight.var file to add the following WebFocus Security Settings:
- wf.server.url=https://<WebFocus server>:25001/ibi_apps/
- wf.sharedKey=<Insight license key>
- wf.tokenLife=1800
- Restart the Calyx RIM Server.