File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes RSA premaster secret error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Bookmark "RSA premaster secret error" Watch "RSA premaster secret error" New topic

RSA premaster secret error

Vinod Awar
Ranch Hand

Joined: Nov 06, 2006
Posts: 129
Hii all,

iam writing a webservice client. when i tried to compile the wsdl using wscompile tool to genterate stub it throws following error

my java version is 1.6.0_01. I tried by setting classpath to include sunpkcs11.jar but this also did not help. Do you guys have any idea about this.

rakesh sugirtharaj
Ranch Hand

Joined: Dec 16, 2007
Posts: 151

The exception trace is too small.. Can you paste the entire exception. Also google for "JCE Unrestricted strength policy files". It may help.

I agree. Here's the link:
subject: RSA premaster secret error
It's not a secret anymore!