Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

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.html

The necessary package is labeled 'Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6'.

Klocwork ships with its own JVM. After you download the JCE files, you need to install the files to the appropriate location by doing the following:
  1. Extract the downloaded ZIP file to a location of your choice.
  2. Go to <install>/_jvm/lib/security.
  3. Create a backup of 'local_policy.jar' and 'US_export_policy.jar'.
  4. 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.