Title:
cfhttp - use of buggy 4.4.1 http components (hostname verification fails when it shouldn't)
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): Ryan Potter / Ryan Potter (Ryan Potter)
Created: 02/17/2016
Components: Net Protocols, HTTP
Versions: 2016
Failure Type: Usability Issue
Found In Build/Fixed In Build: CF2016_Final /
Priority/Frequency: Major / All users will encounter
Locale/System: ALL / Windows 10 64 bit
Vote Count: 2
Problem Description:
After installing 2016, cfhttp calls to https://www.googleapis.com no longer worked, returning this error: "Host name 'www.googleapis.com' does not match the certificate subject provided by the peer (CN=*.storage.googleapis.com, O=Google Inc, L=Mountain View, ST=California, C=US)"
Looks like there is an error in 4.4 which CF2016 now uses: https://issues.apache.org/jira/browse/HTTPCLIENT-1613
Lucee upgraded to 4.5.1 http://lang.lucee.org/t/new-patch-release-4-5-2-000/180
Any Workarounds:
I replaced the following 4.4.1 jar files (found in C:\ColdFusion2016\cfusion\lib) with the 5.5 jar files from https://repo1.maven.org/maven2/org/apache/httpcomponents/
httpclient-4.4.1.jar
httpclient-cache-4.4.1.jar
httpcore-4.4.1.jar
httpmime-4.4.1.jar
Restarted cf, it worked. No idea if I needed to replace all of them, but I did.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4118754
External Customer Info:
External Company:
External Customer Name: Ryan Potter
External Customer Email:
External Test Config: My Hardware and Environment details:
Win 10 64bit
Attachments:
Comments: