I\'m trying to connect to a webservice over SSL using Apache Commons HttpClient 3.1, using this:
String url = \"https://archprod.service.eogs.dk/cvronline/esb/Le
We have a webstart application which fails because of this issue. The command-line version is working again when adding :
java.lang.System.setProperty("sun.security.ssl.allowUnsafeRenegotiation", "true");
But the webstart version seems to ignore this, and until now we haven't foud a way to set this property in the webstart version.
Same issue as here, I think: http://forums.sun.com/thread.jspa?threadID=5435426
At least the solution works for this issue, too: add "-Dsun.security.ssl.allowUnsafeRenegotiation=true"
Just to add some updates to this - Oracle has this KB that discusses the problem.
We've come across with with JRE 1.6.0_20 on Windows 7, but upgrading to 1.6.0_25 has resovled the problem (I realise there are later versions, however in the interests of software testing we're testing with a range of versions - this is the earliest we've been able to lay our hands on).
At least the solution works for this issue, too: add "-Dsun.security.ssl.allowUnsafeRenegotiation=true"
Thank you very very very much for that! I was trying to use maven deploy through an SSL connection, using certificates and I had the same exception. Now it is solved. Thanks again!