Problems with ssl certificates when running on Java 7 or later - Programisci/jenkins-control-plugin GitHub Wiki
Some users can't use jenkins-control-plugin after their version of intellij started running on Java 7 or later.
They get Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
like in https://github.com/dboissier/jenkins-control-plugin/issues/89 or https://github.com/dboissier/jenkins-control-plugin/issues/95
Certain ciphers where removed from ordinary distribution after Java 6. In order to fix the problem you need to install Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files into java which is intellj product ran on. If you didn't change it it will be _intellij_product_install_dir/jre/jre/.
Here are links for:
- Java 7: http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
- Java 8: http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html
Archives contain installation instruction.
Basically you have to overwrite files from intellij_product_install_dir/jre/jre/lib/security with contents of downloaded zip package. You might want to backup this directory first. Don't delete any files that weren't in zip package, just overwrite.