Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

keygenerator fail to generate key correctly in applet application if policy file contains https code

1053940Nov 12 2013 — edited Nov 20 2013

Hi there,

  I got the problems  as what title said.

I have an applet application (jre1.6.0_06 is used) which will encrypt key using AES and It work fine when policy files contains http codeBase only.

It is found that function generatekey() wont work correctly (wont generate same key but no exception is thrown) When https codeBase is added to policy file.

  Found out there is similar problems before at: https://forums.oracle.com/message/6388132

But I would like to know the root cause so I could get the right solution.

  Thank you for your help.

Thanks

PH

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Dec 18 2013
Added on Nov 12 2013
1 comment
1,161 views