SunTlsRsaPremasterSecret KeyGenerator not available

I’ve had the same problem after upgrading to new Java version on Mac.
My (maven) project ran OK from command line but got the “SunTlsRsaPremasterSecret” error in Eclipse.

The solution was to remove Installed JREs in Eclipse configuration and add them again (using the “Search…” button).

Leave a Comment