<?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: How to convert an SSL cert to a .pem for installation on Citrix and Cisco appliances</title>
	<atom:link href="http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances</link>
	<description>Cool stuff I see in the IT world</description>
	<lastBuildDate>Tue, 20 Jul 2010 23:55:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: robert langdon</title>
		<link>http://www.jasonsamuel.com/2010/01/07/how-to-convert-an-ssl-cert-to-a-pem-for-installation-on-citrix-and-cisco-appliances/comment-page-1/#comment-55</link>
		<dc:creator>robert langdon</dc:creator>
		<pubDate>Thu, 04 Feb 2010 14:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.jasonsamuel.com/?p=302#comment-55</guid>
		<description>Hello all,
I get the folowing results when I execute a curl command attempting to
access a secure site:

D:\cURL\ssl&gt;curl -v --cacert mycert.pem -o test.txt
&quot;https://mydomain.mycompany.com/DWNLD.asp?id=128&quot;
* About to connect() to mydomain.mycompany.com:443
* Connected to mydomain.mycompany.com (vvv.xxx.yyy.zzz) port 443
* SSL: error:00000000:lib(0):func(0):reason(0)
* Closing connection #0
curl: (35) SSL: error:00000000:lib(0):func(0):reason(0)

D:\cURL\ssl&gt;

I am using curl-7.10.3 ssl version under Win32.

Here is how I generate mycert.pem from SSL certificate of web site
https://mydomain.mycompany.com:
(a) Open up https://mydomain.mycompany.com using MSIE 5.5
(b) Double click on the lock sign on MSIE status bar
(c) Click on Details tab
(d) Click on &quot;Copy to File&quot; button
(e) Click on Next on Certificate Export Wizard window
(f) Select &quot;Base-64 encoded X.509 (.CER)&quot; and then click on Next
(g) Enter d:\mycert.cer into file name input area
(h) Press Finish button to complete exporting certificate
(i) and finally use openssl to generte mycert.pem file
    openssl x509 -in mycert.cer -outform PEM -out mycert.pem

What am I doing wrong here? Can anybody tell me how to get .pem file
from IIS or the secure site itself?

By the way, when I turn off cURL&#039;s certificate verification
(by using -k option instead of --cacert), the above cURL command
runs with no errors.

Thanks a lot,</description>
		<content:encoded><![CDATA[<p>Hello all,<br />
I get the folowing results when I execute a curl command attempting to<br />
access a secure site:</p>
<p>D:\cURL\ssl&gt;curl -v &#8211;cacert mycert.pem -o test.txt<br />
&#8220;https://mydomain.mycompany.com/DWNLD.asp?id=128&#8243;<br />
* About to connect() to mydomain.mycompany.com:443<br />
* Connected to mydomain.mycompany.com (vvv.xxx.yyy.zzz) port 443<br />
* SSL: error:00000000:lib(0):func(0):reason(0)<br />
* Closing connection #0<br />
curl: (35) SSL: error:00000000:lib(0):func(0):reason(0)</p>
<p>D:\cURL\ssl&gt;</p>
<p>I am using curl-7.10.3 ssl version under Win32.</p>
<p>Here is how I generate mycert.pem from SSL certificate of web site<br />
<a href="https://mydomain.mycompany.com">https://mydomain.mycompany.com</a>:<br />
(a) Open up <a href="https://mydomain.mycompany.com">https://mydomain.mycompany.com</a> using MSIE 5.5<br />
(b) Double click on the lock sign on MSIE status bar<br />
(c) Click on Details tab<br />
(d) Click on &#8220;Copy to File&#8221; button<br />
(e) Click on Next on Certificate Export Wizard window<br />
(f) Select &#8220;Base-64 encoded X.509 (.CER)&#8221; and then click on Next<br />
(g) Enter d:\mycert.cer into file name input area<br />
(h) Press Finish button to complete exporting certificate<br />
(i) and finally use openssl to generte mycert.pem file<br />
    openssl x509 -in mycert.cer -outform PEM -out mycert.pem</p>
<p>What am I doing wrong here? Can anybody tell me how to get .pem file<br />
from IIS or the secure site itself?</p>
<p>By the way, when I turn off cURL&#8217;s certificate verification<br />
(by using -k option instead of &#8211;cacert), the above cURL command<br />
runs with no errors.</p>
<p>Thanks a lot,</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/


Served from: www.jasonsamuel.com @ 2010-07-31 20:01:32 -->