Error occurred during SSL handshake
If you use Perforce and have configured it to use a secure connection (SSL), you may receive the following error:
Error occurred during SSL handshake. Please check the release notes for known SSL issues : Received fatal alert : handshake_failure com.klocwork.bonobo.BonoboException: Error occurred during SSL handshake.
This error occurs because Perforce requires 256-bit SSL encryption. By default, the standard JDK which is installed as part of your Klocwork installation comes with a maximum of 128-bit encryption.
To resolve this issue, you need to install the Java JCE Unlimited Strength Extensions Policies, which are provided by Oracle. You can download the package for Java 7 here: http://www.oracle.com/technetwork/java/javase/downloads/index.htm
The necessary package is labeled 'Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6'.
- Extract the downloaded ZIP file to a location of your choice.
- Go to <install>/_jvm/lib/security.
- Create a backup of 'local_policy.jar' and 'US_export_policy.jar'.
- Replace local_policy.jar and US_export_policy.jar with the ones that were extracted from the ZIP file.
Once you have replaced these files, you can use Code Review with the proper 256-bit SSL encryption required for Perforce.