Jump to content

import/export with encrypted keys using Postman


sledge13

Recommended Posts

Hi,

i have a problem with export and import using JASPERSERVER Rest API. Jasper server version is 7.5.0. Trying to find a way,how to use encrypted keys. Im testing export/import in Postman, and i always get message like this: 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<state>

<error>

<errorCode>import.decode.failed</errorCode>

<parameters/>

</error>

<id>669d5fdf-21a2-420f-a9b4-e10930ce4175</id>

<message>import.decode.failed</message>

<phase>failed</phase>

</state>

Any advice?

Thanks

Link to comment
Share on other sites

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

Thank you for your answer.

I tried your solution,and of course i read documentation,but still no luck :)

Do you have any example? Because in official video tutorial,export/import is done without any encryption and im not sure where should put those secretkey and secretUri informations.

Link to comment
Share on other sites

First of all, you need to watch the following video to understand the role of the keystore and how to use it when exporting and importing.
I'm still learning, but it seems that the import method differs depending on the exported JRS version and export method.
It's difficult...


Dr. Jaspersoft
https://community.jaspersoft.com/wiki/dr-jaspersoft
  --> 10) Keystore Management (9/10/20)

 

Link to comment
Share on other sites

i understand how keystore works...when i did export and import manually using js-export and js-import scripts,it worked.

js-export script generated secret key,that i used during the import process, everything was working fine

I just have to figure out,how to use it with API requests,and that the problem...

Link to comment
Share on other sites

  • 1 year later...

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...