Jump to content
We've recently updated our Privacy Statement, available here ×

Static Key Encryption not working


kopalle7

Recommended Posts

 

Hi Everyone,

I am relatively new to Jasper and trying to implement static key encryption. Somehow the key thats generated through encrypt.js is not matching the key that is generated in the EncryptionFilter during authentication process and fails. 

Here is the url of a sample report # 

http://localhost:8080/jasperserver/flow.html?_flowId=viewReportFlow&standAlone=true&ParentFolderUri=%2Freports%2Finteractive&reportUnit=%2Freports%2Finteractive%2FTableReport&j_username=jasperadmin&j_password=4302e3eeb224eee8d305440be299bacbeef8dcb0922337f01d1b321c215cc8ea1948cd926cddfebcc5d774a47096d1a3cd10571dd2f941df5522848d513d1a55aa2f43ab5a82fe3f9b1a3f941f121a5ce82a6e86eecff38af51c2ec930c691094e01cab7cb61f9efae817817cdd208d9a02dd7a5611e4382a9f93d56e8f7c7e4c3db1c7c8160d26ca8b7af2515ac6fab1ab24b4e78eaf872f4024eb53a7443d4f8571a0fb78266a91be66a4a3ecf78f65317d9d4ecf4d10d2da04a2b4d45b1a7202b97e0aefbdfc178fcc714694cdb4cdfc3964cf3f5c85a23cc53e66e4bc7ee8019d306006ec21443164cc8ce0c9b855ad1b98cb4d27cc1cb64a65869cb572c

This is what I have done. Using the default keystore.jks with the default keystore password. Then I am adding the alias to the keystore.jks, turned on the encryption and disabled the dynamic key encryption. Everything as mentioned in the admin guide. 

Invalid credentials supplied.

Could not login to JasperReports Server.

 

Any pointers or help is greatly appreciated. Thiis is kind of s show stopper for us

Thanx and Regards,

KR Kumar

 
Link to comment
Share on other sites

  • 1 year later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

  • 8 years later...

Hi Everyone, 
I am working on jaspersoft reports integration in our application and we are also facing the same issue with Static Key encryption.
We got it working on Jasper 6.3.0 but when we moved to newer version of 8.0.2 its not working when trying to access the url with encrypted key. 
Any ideas regarding how to fix this will be much appreciated

Link to comment
Share on other sites

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