ColdFusion-Stripe-CFC icon indicating copy to clipboard operation
ColdFusion-Stripe-CFC copied to clipboard

TLS 1.0 Requests - ColdFusion 10+

Open opendealer opened this issue 8 years ago • 2 comments

ColdFusion comes with java 1.7... which does 1.0 TLS cfhttp calls... when you use that it throws this error:

401 Unauthorized

{ "error": { "type": "invalid_request_error", "message": "Stripe no longer supports API requests made with TLS 1.0. Please initiate HTTPS connections with TLS 1.2 or later. You can learn more about this at https://stripe.com/blog/upgrading-tls." } }

Solution:

  1. Upgrade to Java 8.
  2. Login to ColdFusion Administrator > Java JVM
  3. Change the path of the JVM to the new installed path (defaults to: C:\Program Files\Java\jre1.8.0_102 in windows. )
  4. Restart ColdFusion Server - Service.
  5. Re-Test.. it should work now..

Just thought I'd suggest this as a fix in case anyone was running into the same problem.

Pablo Varando www.easycfm.com

opendealer avatar Jul 28 '16 06:07 opendealer

Hi Pablo Varando,

Thanks for your information. It is helped me. thanks again

sabashChinTam avatar Jul 29 '16 10:07 sabashChinTam

FYI. If get an Error code 2 when starting the ColdFusion Application Service, you need to copy msvcr100.dll from {JDK Home}\jre\bin to {ColdFusion-Home}\runtime\bin.

rip747 avatar Oct 13 '16 16:10 rip747