Hi,
I am trying to use the Client Certificate for Mutual Authentication but
receiving a HTTP 403.7 error all the time. Could you please suggest if I am
doing something wrong? Here is my code sample below.
<cfoutput>
<cfset variables.doctypedec = '<?xml version="1.0" encoding="utf-8"?>' />
<cfsavecontent variable="variables.spck">
#variables.doctypedec#
<soap:Envelope
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateStatusCodeForLoans
xmlns="https://test.XXXXXXXX.com">
<CopsID>305791</CopsID>
<Loan1>85765402</Loan1>
<LastName1>JBXDDUV</LastName1>
</UpdateStatusCodeForLoans>
</soap:Body>
</soap:Envelope>
</cfsavecontent>
<cfhttp url="https://test.XXXXXXXX.com/SSC/SSCWebService.asmx"
method="post" useragent="HTTP/1.1" timeout="6000000"
clientCert="C:\inetpub\wwwroot\clients\XXXXXXXX\config\21369-nonprod.test.com.pfx"
clientCertPassword ="XXXXXXX" result="variables.ws_response" >
<cfhttpparam type="HEADER" name="Content-Type" value="text/xml;
charset=utf-8">
<cfhttpparam type="header" name="SOAPAction"
value="https://test.XXXXXXXX.com/UpdateStatusCodeForLoans">
<cfhttpparam type="HEADER" name="Content-Length"
value="#len(trim(variables.spck))#">
<cfhttpparam type="BODY" value="#trim(variables.spck)#">
</cfhttp>
<cfdump var="#variables.ws_response#" />
</cfoutput>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324634
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4