JRE, Subclipse and "RSA premaster secret error"
Arrrgggghhhhh!!! This was extremely frustrating.
With my shiny new x86_64 server I figured I'd be better running eclipse on that and X'ing across to my laptop. No worries.
Well the Fedora eclipse rpms seem broken when it comes to adding additional non-rpm'ed extensions, so I grabbed and installed the offical x86_64 version from the eclipse website. No Worries!
I still wish....
This required installing the v1.5 JRE. Easy. Some minor tweaks to run eclipse and we can start installing CDT, and Subclipse. Yay.
So everything in and working, lets connect to my subversion repository, which just happens to be a https://.
Back comes something like:
javax.net.ssl.SSLKeyException: RSA premaster secret error
I have no idea what this means. Something about the SSL stuff I'm figuring. So why does this work fine on my laptop? Well to cut the long story short it appears you need an additional extra bits from Sun. Specifically the JCE, or more precisely the "Unlimited Strength Java(TM) Cryptography Extension Policy Files".
Add these to the security lib and all works fine.