foundeo / bolthttp

A HTTP Client for CFML
Apache License 2.0
30 stars 6 forks source link

TLS 1.2 not working #1

Open christierney402 opened 7 years ago

christierney402 commented 7 years ago

I am running test/run.cfm installed on ColdFusion Enterprise Edition 9,0,2,282541 Java: 1.7.0_80 .

The TLS 1.2 test is failing.

TLS 1.2 / Mozilla Modern Configuration GET https://mozilla-modern.badssl.com/ FAIL: Expected 200 got exception: Received fatal alert: handshake_failure

pfreitag commented 7 years ago

Try adding -Dhttps.protocols=TLSv1.1,TLSv1.2 to your JVM config, and see if that solves it.

Java 1.7 implements TLS 1.2 but it is not enabled by default. See https://blogs.oracle.com/java-platform-group/entry/diagnosing_tls_ssl_and_https for more info.