Fixed
Details
Details
Assignee
Zac Spitzer
Zac SpitzerReporter
Brad Wood
Brad WoodPriority
Labels
Fix versions
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Sprint
None
Created 29 March 2021 at 23:31
Updated 27 April 2022 at 16:59
Resolved 14 April 2021 at 18:19
When using SSLCertificateInstall() to install an SSL cert, if there is any issue connecting to the remote server, such as a TLS version not being supported, all you get is this unhelpful message:
I just ran into this with a client who updated their app from java 8 to java 11. I wrote the CFML code in the attached CommandBox Task Runner to find the "real" error which is discarded by Lucee. The real error in this particular case was:
But debugging this was impossible due to Lucee discarding the original exception and not telling me what the issue was.
In the CertificateInstaller class in Lucee, the checkCertificate() method returns any exception that is encountered. When tm.chain is null in the constructor, please wrap the actual exception with the custom message instead of just throwing an empty IOException!
Instead, do something like this: