Copy link to clipboard
Copied
While reviewing the technotes for Update 16, I noticed a mention about keeping the JDK updated. I understand that ColdFusion supports Java 11, and according to the ColdFusion documentation, it supports versions up to 11.0.25. Currently, I am running Java 11.0.11.
My questions are:
Additionally, if I install the new JDK using the .exe file, can I simply update the path to the /jre folder in the ColdFusion Administrator, restart the server, and test the changes? If there are any issues, would it be possible to revert to the previous version without complications?
Copy link to clipboard
Copied
@rickmaz You can continue using JDK 11.0.11, but the server may be vulnerable. We recommend upgrading to 11.0.25.
Follow the below article to upgrade the JDK:
https://coldfusion.adobe.com/2023/08/upgrade-jdk-version-coldfusion-server-updated/
Thanks,
Vikram
Copy link to clipboard
Copied
I was running ColdFusion 2021 Enterprise (not sure which update version) on AWS, and was having serious issues with 11.0.25. Had to downgrade to 11.0.21. Any other reports of similar issues ?
Copy link to clipboard
Copied
Just to provide additional details...The CF version is 2021.0.18.330341, and the issue is occurring with CFHTTP tag. The error that is occurring is being displayed after executing CFHTTP and doing a <cfdump var="#cfhttp#">. The page is not loading since the very next line is looking at cfhttp.responseheader.status_code, which doesn't exist sine the CFHTTP failed. This is the error shown in the cfdump of cfhttp:
I/O Exception: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Note that with JRE 11.0.21, this error is not occurring. Only with 11.0.25, so it should not be a certificate issue.
Copy link to clipboard
Copied
I was able to determine that the issue is with the cacert that is packaged with JRE 11.0.25 that is causing the issues. Just an FYI, this is with a AWS ColdFusion AMI.
Copy link to clipboard
Copied
Definitely sounds like a certificate issue to me. Different versions of Java, like different browsers, come with different root certificates. Try downloading the certificate chain (root and intermediate) for the site in question, then installing as described here:
https://docs.oracle.com/cd/E19906-01/820-4916/geygn/index.html
Copy link to clipboard
Copied
@richardl96961282 , if you look at the release notes of the Java versions between 11.0.21 and 11.0.25, you will see that 11.0.25 has a breaking change. The breaking change is: "Distrust TLS Server Certificates Anchored by Entrust Root Certificates and Issued After Nov 11, 2024". I think that that is the cause of your problem.
I have 3 suggestions:
jdk.security.caDistrustPolicies=SYMANTEC_TLS,ENTRUST_TLSby replacing it with# jdk.security.caDistrustPolicies=SYMANTEC_TLS,ENTRUST_TLSCopy link to clipboard
Copied
That's a better suggestion than mine.
Copy link to clipboard
Copied
...I understand that ColdFusion supports Java 11, and according to the ColdFusion documentation, it supports versions up to 11.0.25. Currently, I am running Java 11.0.11.
My questions are:
- Is there a need to upgrade to a newer version of the JDK?
- Has anyone encountered any significant issues or challenges during the upgrade process?
By @rickmaz
Copy link to clipboard
Copied
Richard and Rick, have you both resolved your problems so that you can update to that latest Java? You should be able to: updating the Java underlying cf to the latest update of the version it supports has worked and is working for others currently with these latest versions you refer to.
If the solution for your situation is not what's been offered so far, there are still other possible explanations. Rather than bore you/readers herebwith that, let's hear how it's gone for you so far.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now