Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to Decrypt Log Collectors data


    asimkin
    • Features: JasperReports Server Version: v7.2 Product: JasperReports® Server

    Issue Description

    Customer created Log Collector and downloaded generated archive:

    https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v720/using-log-collectors

    As it turned out, the data are encrypted and customer need to decrypt it for further processing.


    Solution

    By default, TIBCO JasperReports® Server encrypts logs/resources/datasnaphots in the generate log collector archive because they may contain sensitive data.

    If the resources are imported into another JasperReports Server, for example for report replay, during the import process they will be decrypted automatically

    by the target server if it has the same set of encryption settings as the source server.

    If you want just to decrypt the data, then you should use buildomatic js-ant script with the following parameters:

    js-ant encrypt-diagnostics-data -DinFile=inputTarget -DencProps=encryptionPropertyFilejs-ant decrypt-diagnostics-data -DinFile=inputTarget -DencProps=encryptionPropertyFile[/code]

    where "inputTarget" is path to file or folder for encryption|decryption and "encryptionPropertyFile" is path to file with encryption settings with folowing format:

    crypto.algo=

    crypto.transf=

    crypto.block.size=16

    crypto.key.bytes=

    You can pick algorithm, transformation and key from the source server in "importExportCipher" bean which is located in applicationContext-security.xml file.

    Solution tested with TIBCO JasperReports® Server v.7.2.0


    AS-20191113


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...