In order to be able to use Jaspersoft dashboards we need to provide you with jasperserver.tar.gz file.
Once downloaded it need to be extracted:
$ tar xzvf jasperserver.tar.gz
All the necessary files will be in the jasperserver folder.
Enter this directory:
$ cd jasperserver
In the most basic installation you can directly bring up the docker-compose with:
$ docker-compose up -d
Jasperserver will be avaliable in 2-5 minutes on:
After that you will need to modify the iriusprod data source aiming at your Iriusrisk database. The data source is configured in jaspersoft web interface mentioned before. First login with your credentials. In the dashboard you will be able to list all the data sources. Right click on iriusprod and Edit.
If you use any adblock plugins, some dashboards may be broken, if you see anything that does not work, try it with another browser (on chrome they work fine) and disable browser extensions for jaspersoft.
Optional steps
We already provide self-signed certificates for you to try, but we encourage you to use your own (signed by a CA or self-signed, but yours). The certificates should be placed in the jasperserver folder.
In case you are not using certificates already signed by a trusted CA you can always generate your own self-signed certificates. Before running docker-compose move to the jasperserver extracted folder and type these commands:
$ openssl genrsa -out SERVER.key 2048
$ openssl req -new -out SERVER.csr -key SERVER.key
$ openssl x509 -req -days 365 -in SERVER.csr -signkey SERVER.key -out SERVER.crt
Convert your X509 cert into pkcs12 (you need to put a password in the file). This is already done for the POC files:
$ openssl pkcs12 -export -in SERVER.crt -inkey SERVER.key \
-out tomcatssl.p12 -name tomcatssl \
-caname root
Replace the self-signed certificate:
$ keytool -v -importkeystore -srckeystore tomcatssl.p12 -srcstoretype PKCS12 -destkeystore tomcatssl.jks -deststoretype JKS
Edit server.xml in the jasperserver folder, you need to indicate your certificate password in keystorePass="YOURPASSWORD" line.
Finally, review docker-compose.yml, you may want to change the default listening port on the dockers from 8443 to another more suitable to you. For example, in case you want to listen on port 9000 change this line:
ports:
- "9000:443"
After that you can run the docker-compose and proceed with data source configuration.
Comments
0 comments
Article is closed for comments.