If your AAI/Jaws application is setup to use HTTPS, your Insight server must be configured with HTTPS as well in order to properly configure the reporting server in the Terma website.
To configure HTTPS for AAI/Jaws see this KB article: How do I setup AAI/JAWS to use HTTPS?
Release : 6.0
Component : AUTOMIC AUTOMATION INTELLIGENCE ENGINE
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore <install dir>/apache-tomcat/conf/key.bin -ext SAN=dns:<hostname>,dns:<FQDN>,ip:192.168.1.38
%JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA -keystore <install dir>\apache-tomcat\conf\key.bin -ext SAN=dns:<hostname>,dns:<FQDN>,ip:192.168.1.38
Add the following section after existing <Connector> element in <Install dir>/apache-tomcat/conf/server.xml.
Here you will specify the HTTPS port you wish to use, if on the same server as AAI, use a different HTTPS port.
You will also specify the path to the keystore you created in step 1 which should be in <install dir>/apache-tomcat/conf/.
You will also specify the password you used when creating the keystore.
Add the following section after existing <Connector> element in <Install dir>apache-tomcat\conf\server.xml
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol" port="${HTTPS_PORT}" maxThreads="200" scheme="https" secure="true" SSLEnabled="true" keystoreFile="<insight install dir>\apache-tomcat\conf\key.bin" keystorePass="changeit" clientAuth="false" sslProtocol="TLS"/>
Get the cert for JAWS server:
openssl s_client -connect <AAI hostname:AAI port> | openssl x509 -out jawsserver.cert
Import the cert into the $JAVA_HOME/jre/lib/security/cacerts keystore
keytool -import -alias tomcat -keystore $JAVA_HOME/jre/lib/security/cacerts -file jawsserver.cert
Import the AAI/JAWS cer file into the Java keystore that is embedded with Jasperserver which is in <Insight Install Dir>/java/jre/lib/security/cacerts
keytool -import -alias tomcat -keystore <Insight Install Dir>/java/jre/lib/security/cacerts -file jawsserver.cert
You can get the Jaws cert over to the Insight server a few different ways.
Import the Cert
Once you have the cert, Import the generated/exported cert to java keystore (default password for keystore is ‘changeit’):
keytool -import -alias tomcat -keystore %JAVA_HOME%\jre\lib\security\cacerts -file jawsserver.cert
Also you must import the cert into the Jasperserver’s bundled java which is located in the <install dir>\java\lib\security\cacerts directory.
keytool -import -alias tomcat -keystore <Insight Install Dir>/java/lib/security/cacerts -file jawsserver.cert
The server name, port, and protocol for accessing the AAI server from Insight is set during the installation of Insight in your install parameters for Windows or Linux.
If you already specified the protocol https, the port used for https, and the correct hostname, FQDN, or IP that matches your certificate, this should already be set correctly.
To make sure, check the file below on the insight server:
Linux
<Insight install dir>./ctlscript.sh restart
Windows
There are two desktop icons to stop and start the Jasperserver services, double click “Stop JRS Service” and then “Start JRS Service”.
The link is below, use the ip, hostname, or FQDN of the server, whichever name you use to access the URL should match what you supplied as the Subject Alternative Names in your certificate.
https://<hostname>:<https port>/jasperserver-pro
You should be able to log in with the user superuser and password TermaPassword by default.
If you are using self signed certs you must download the certs used for your AAI server and your Insight server to whichever computer you are using to access the Web URL.
From Chrome, go to https://<aai server>:<port>/terma and https://<Insight server>:<port>/jasperserver-pro click on the red “Not Secure” message to the left of the URL and select certificates.
Click on the Details tab and select “copy to file”
Select the top options and “Next” a select a name and save it.
Then import both certs into Windows Trusted Certificates, you may already have the AAI/Jaws cert imported if you are able to launch the Jaws thick client.
Restart all browsers.
To be able to connect to BI server from JAWS with HTTPS with self-signed cert, we have to import the self-signed cert of BI Server to java keystore in JAWS server (default password for the keystore is ‘changeit’):
Linux
Get the cert via the command below from the AAI/JAWS server:
openssl s_client -connect ${BI_HOSTNAME}:${BI_SSL_PORT} <<<'' | openssl x509 -out bi_server.cert
$JAVA_HOME/bin/keytool -import -alias bi_key -keystore $JAVA_HOME/jre/lib/security/cacerts -file bi_server.cert
Windows
“%JAVA_HOME% \bin\keytool” -import -alias bi_key -keystore “%JAVA_HOME%\jre\lib\security\cacerts” -file bi_server.cert (Windows)
Open the Terma website with the same hostname/FQDN/IP as in step 4 and go to System Tools->Reporting Configuration.