Last active
December 20, 2015 09:09
-
-
Save JamoCA/6105736 to your computer and use it in GitHub Desktop.
ColdFusion SAN Certificate test. (NOTE: You can test this at CFLive.net)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<p>This sample CFML code is regarding the Adobe ColdFusion bug reported here:<br> | |
<a href="https://bugbase.adobe.com/index.cfm?event=bug&id=3566218">https://bugbase.adobe.com/index.cfm?event=bug&id=3566218</a><br> | |
and can be tested by pasting the code below at <a href="http://cflive.net/">http://cflive.net/</a></p> | |
<p>As of 7/29/2013, Railo is capable of performing a CFHTTP request to a SSL SAN certficate whereas ColdFusion 9.0.2.282541 fails:</p> | |
<blockquote> | |
<p><b>Connection Failure</b><br> | |
I/O Exception: Name in certificate `globalgatewaye4.firstdata.com' does not match host name `api.globalgatewaye4.firstdata.com'</p> | |
</blockquote> | |
<cfsavecontent variable="SampleCode"> | |
[cfoutput]ColdFusion Version = #Server.ColdFusion.ProductVersion#[/cfoutput] | |
[cfhttp url="https://api.globalgatewayE4.firstdata.com/transaction/v10/wsdl" method="get"][/cfhttp] | |
[cfdump var="#cfhttp#"]</cfsavecontent> | |
<cfoutput> | |
<textarea cols=80 rows=5>#HTMLEditFormat(ReplaceList(SampleCode,"[,]","<,>"))#</textarea> | |
<h2>ColdFusion Version = #Server.ColdFusion.ProductVersion#</h2></cfoutput> | |
<cfhttp url="https://api.globalgatewayE4.firstdata.com/transaction/v10/wsdl" method="get"></cfhttp> | |
<cfdump var="#cfhttp#"> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment