Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Samuel Knowlton / Samuel Knowlton (Samuel Knowlton)
Created: 03/04/2012
Components: Net Protocols, HTTP
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Public Beta / 281741
Priority/Frequency: Critical / All users will encounter
Locale/System: English / Win 2008 Server R2 64 bit
Vote Count: 0
Problem Description: When using the CFHTTP tag with a client certificate, the page crashes before the http request is sent. The same code works correctly in CF8 and there is no problem with the client certificate file.
Steps to Reproduce:
1) Get hold of any .p12 client cert. It does not matter if the server you are trying to submit it to will actually recognize it, though you do have to have the correct decryption password.
2) Try the following code:
<cfhttp url="www.google.com" method="POST" username="any" password="any" clientcert="c:\path\to\cert" clientcertpassword="passwordToDecryptClientCert">
<cfhttpparam name="foo" type="formfield" value="bar">
</cfhttp>
Actual Result: com.sun.net.ssl.internal.ssl.SSLSocketFactoryImpl cannot be cast to org.apache.http.conn.scheme.SchemeSocketFactory null
Expected Result: HTTP request made to client server.
Any Workarounds: None found so far.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3129766
External Customer Info:
External Company:
External Customer Name: Aquitaine
External Customer Email:
External Test Config: My Hardware and Environment details:Windows 2008 Server 64-bit, 8 gigs of RAM, JVM 1.6.0
erver Details
Server Product ColdFusion
Version ColdFusion 10,281485
Edition Enterprise (Trial)
Operating System Windows Server 2008 R2
OS Version 6.1
Update Level /C:/ColdFusion10/cfusion/lib/updates/chf10000002.jar
Adobe Driver Version 4.1 (Build 0001)
JVM Details
Java Version 1.6.0_29
Java Vendor Sun Microsystems Inc.
Java Vendor URL http://java.sun.com/
Java Home C:\ColdFusion10\jre
Java File Encoding Cp1252
Java Default Locale en_US
File Separator \
Path Separator ;
Line Separator Chr(13)
User Name INLEAGUE-WEB$
User Home C:\
User Dir C:\ColdFusion10\cfusion\bin
Java VM Specification Version 1.0
Java VM Specification Vendor Sun Microsystems Inc.
Java VM Specification Name Java Virtual Machine Specification
Java VM Version 20.4-b02
Java VM Vendor Sun Microsystems Inc.
Java VM Name Java HotSpot(TM) 64-Bit Server VM
Java Specification Version 1.6
Java Specification Vendor Sun Microsystems Inc.
Java Specification Name Java Platform API Specification
Java Class Version 50.0
Attachments:
Comments: