how to get import/export encryption key in jasperreport server 7.5.0

I would like to transfer a group of objects between two jasperreport servers 7.5 using import/export. When i'm importing the export file on the second server i'm getting an error message concerning a wrong encryption key. Do you know how to get the export encryption key?

Thank you!

canghel's picture
Joined: Nov 24 2017 - 1:08am
Last seen: 1 day 7 hours ago

1 Answer:

I tried too, the answer should be here : https://community.jaspersoft.com/documentation/tibco-jasperreports-server-security-guide/v7/using-custom-keys

You should have 2 files (.jrsks and jrsksp) in your home directory, ex : C:\users\<you>.

But to build a new same key to share in your 2 environments you need to generate it like this, cf security guide : (keytool command is in jasper/java/bin directory)

keytool -genseckey -keystore C:\users\<you> -storetype jceks -storepass storepw
-keyalg AES -keysize 128 -alias importExportEncSecret -keypass myimportexportpw
 
Problem is I get an error : erreur keytool : java.io.IOException: Keystore was tampered with, or password was incorrect

yann22580's picture
682
Joined: Apr 29 2015 - 1:10am
Last seen: 11 months 3 days ago
Feedback
randomness