<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Handling SSL certificates during SOAP4R calls</title>
	<atom:link href="http://elliot-nelson.net/2010/02/handling-ssl-certificates-during-soap4r-calls/feed/" rel="self" type="application/rss+xml" />
	<link>http://elliot-nelson.net/2010/02/handling-ssl-certificates-during-soap4r-calls/</link>
	<description>The semi-random rants of a software engineer.</description>
	<lastBuildDate>Wed, 12 May 2010 22:16:27 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Mathieu</title>
		<link>http://elliot-nelson.net/2010/02/handling-ssl-certificates-during-soap4r-calls/comment-page-1/#comment-99</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Wed, 12 May 2010 22:16:27 +0000</pubDate>
		<guid isPermaLink="false">http://elliot-nelson.net/?p=54#comment-99</guid>
		<description>@Elliot

I chose the second option, it worked fine thank you</description>
		<content:encoded><![CDATA[<p>@Elliot</p>
<p>I chose the second option, it worked fine thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliot Nelson</title>
		<link>http://elliot-nelson.net/2010/02/handling-ssl-certificates-during-soap4r-calls/comment-page-1/#comment-96</link>
		<dc:creator>Elliot Nelson</dc:creator>
		<pubDate>Fri, 07 May 2010 20:12:24 +0000</pubDate>
		<guid isPermaLink="false">http://elliot-nelson.net/?p=54#comment-96</guid>
		<description>@Mathieu

In your case, you are receiving the error while trying to download the WSDL, so the code can&#039;t even create the driver, let alone set options on it.

You probably have two options:

(1) Create a SOAP properties file.  This is the only way to pass options to the SOAP4R gem before it loads the WSDL.  If you do this, you would put the location of your certificate files in the properties file instead of the code.  You can find a detailed example here: http://s2.diffuse.it/blog/show/62-Consume_SSL_protected_Web_Services_with_soap4r

(2) Preferably, you should not be downloading and consuming WSDL on the fly.  It would be better to download the WSDL and save it inside your project.  In this case, WSDL_URI should be a filename instead of a URL.  If you do this, the code in my example should work for you.</description>
		<content:encoded><![CDATA[<p>@Mathieu</p>
<p>In your case, you are receiving the error while trying to download the WSDL, so the code can&#8217;t even create the driver, let alone set options on it.</p>
<p>You probably have two options:</p>
<p>(1) Create a SOAP properties file.  This is the only way to pass options to the SOAP4R gem before it loads the WSDL.  If you do this, you would put the location of your certificate files in the properties file instead of the code.  You can find a detailed example here: <a href="http://s2.diffuse.it/blog/show/62-Consume_SSL_protected_Web_Services_with_soap4r" rel="nofollow">http://s2.diffuse.it/blog/show/62-Consume_SSL_protected_Web_Services_with_soap4r</a></p>
<p>(2) Preferably, you should not be downloading and consuming WSDL on the fly.  It would be better to download the WSDL and save it inside your project.  In this case, WSDL_URI should be a filename instead of a URL.  If you do this, the code in my example should work for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mathieu</title>
		<link>http://elliot-nelson.net/2010/02/handling-ssl-certificates-during-soap4r-calls/comment-page-1/#comment-95</link>
		<dc:creator>Mathieu</dc:creator>
		<pubDate>Fri, 07 May 2010 19:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://elliot-nelson.net/?p=54#comment-95</guid>
		<description>I did exactly the same as you with this webservice https://www.arello.com/webservice/verify.cfc?wsdl
I exported the certificate with firefox and I still have the error at depth 0 - 20: unable to get local issuer certificate.
Can you help?</description>
		<content:encoded><![CDATA[<p>I did exactly the same as you with this webservice <a href="https://www.arello.com/webservice/verify.cfc?wsdl" rel="nofollow">https://www.arello.com/webservice/verify.cfc?wsdl</a><br />
I exported the certificate with firefox and I still have the error at depth 0 &#8211; 20: unable to get local issuer certificate.<br />
Can you help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
