Handshake Failure Error When Accessing an HTTPS (SSL) Resource
Problem
When attempting to access an HTTPS (SSL) resource, I receive a handshake_failure error.
Cause
The issue is most likely due to the limitation of Java cryptography capabilities.
Solution
A solution might be to download and deploy Java Cryptography Extension (JCE) Unlimited Strength
Jurisdiction Policy Files 8 (for Java 11).
Warning: It is possible that this may not be legal in your
country. Be advised that you bare legal responsibility for activating unlimited
strength Java cryptography capabilities, so you must have the legal right to use such
cryptography (consult your export/import control counsel or attorney to determine the
exact requirements for your jurisdiction).
To deploy it in Oxygen XML Developer, unpack the downloaded zip archive and move the
two jar files (local_policy.jar and US_export_policy.jar) from
UnlimitedJCEPolicyJDK8 to the following directory, overwriting existing files:
- Windows - [OXYGEN_INSTALL_DIR]/jre/lib/security
- Linux - [OXYGEN_INSTALL_DIR]/jre/lib/security
- macOS - [OXYGEN_INSTALL_DIR]/jre.bundle/Contents/Home/jre/lib/security