<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tech Blog &#187; ssl</title>
	<atom:link href="http://informationideas.com/news/category/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://informationideas.com/news</link>
	<description>Using technology to help your business</description>
	<lastBuildDate>Tue, 06 Dec 2011 06:39:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Android making https requests with SSL from GoDaddy &#8211; No peer certificate error</title>
		<link>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/</link>
		<comments>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 00:00:08 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Coding]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/?p=201</guid>
		<description><![CDATA[Another hair pulling session that all ended well. Task: Make a secure call to a server using a httprequest and get the httpresponse for further processing. Android http request and response: HttpClient client = new DefaultHttpClient(); HttpGet req = new HttpGet("https://www.example.com"); HttpResponse res = client.execute(req); Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate Problem: The issue is that [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Another hair pulling session that all ended well.</p>
<p><strong>Task:</strong></p>
<p>Make a secure call to a server using a httprequest and get the httpresponse for further processing.</p>
<p><strong>Android http request and response:</strong></p>
<blockquote>
<pre>HttpClient client = new DefaultHttpClient();
HttpGet req = new HttpGet("https://www.example.com");
HttpResponse res = client.execute(req);</pre>
</blockquote>
<p><strong>Error:</strong></p>
<p>javax.net.ssl.SSLPeerUnverifiedException: No peer certificate</p>
<p><strong>Problem:</strong></p>
<p>The issue is that cert from GoDaddy was installed but not installed completely. An Intermediate cert is required for the server/domain in order to have a fully installed cert.</p>
<p><strong>Reference:</strong></p>
<p><strong><a href="http://community.godaddy.com/help/5238">http://community.godaddy.com/help/5238</a><br />
</strong></p>
<div class="shr-publisher-201"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2011/11/29/android-making-https-requests-with-ssl-from-godaddy-no-peer-certificate-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apache SSL IfDefine &#8211; Error</title>
		<link>http://informationideas.com/news/2007/01/18/apache-ssl-ifdefine-error/</link>
		<comments>http://informationideas.com/news/2007/01/18/apache-ssl-ifdefine-error/#comments</comments>
		<pubDate>Thu, 18 Jan 2007 23:23:28 +0000</pubDate>
		<dc:creator>frank</dc:creator>
				<category><![CDATA[admin]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://informationideas.com/news/2007/01/18/apache-ssl-ifdefine-error/</guid>
		<description><![CDATA[Just encountered a problem that was painful to deal with while configuring SSL on apache for linux.Â  The httpd.conf had a tag, , before all the SSL configuration lines.Â  In order for any commands within and to be loaded on service start, you must use the -D attribute like this. $ service httpd -D SSL [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><!-- End Shareaholic LikeButtonSetTop --><p>Just encountered a problem that was painful to deal with while configuring SSL on apache for linux.Â  The httpd.conf had a tag, <ifdefine SSL>, before all the SSL configuration lines.Â  In order for any commands within </ifdefine><ifdefine SSL> and </ifdefine> to be loaded on service start, you must use the -D attribute like this.</p>
<p>$ service httpd -D SSL -k start</p>
<p>Also, I found that restart does not always take new changes to my conf files.</p>
<p>$ service httpd -D SSL -k restart</p>
<p>Instead, use the stop then the start command to be sure.</p>
<p>$service httpd -D SSL -k stop<br />
$service httpd -D SSL -k start</p>
<p>That was a source of much pain while working on this particular server.</p>
<div class="shr-publisher-32"></div><!-- Start Shareaholic LikeButtonSetBottom --><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://informationideas.com/news/2007/01/18/apache-ssl-ifdefine-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.420 seconds -->

