<?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>Adam Frisby &#187; http</title>
	<atom:link href="http://www.adamfrisby.com/blog/tag/http/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.adamfrisby.com/blog</link>
	<description>ZOMGWTFHAI</description>
	<lastBuildDate>Sat, 26 Dec 2009 07:02:09 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The Myth of Self-Signed Security</title>
		<link>http://www.adamfrisby.com/blog/2009/07/the-myth-of-self-signed-security/</link>
		<comments>http://www.adamfrisby.com/blog/2009/07/the-myth-of-self-signed-security/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 19:22:37 +0000</pubDate>
		<dc:creator>Adam Frisby</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[protocols]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.adamfrisby.com/blog/?p=388</guid>
		<description><![CDATA[A non-OpenSim post for a change. This time on HTTP SSL certificates and the people who think self-signed certs are actually doing something.
I see this a lot on places like Slashdot, people&#8217;s blogs, mailing lists, etc. &#8220;SSL Certificates are worthless, self-signed certs are perfectly fine, Verisign are a rort charging money for nothing.&#8221; &#8211; and [...]]]></description>
			<content:encoded><![CDATA[<p>A non-OpenSim post for a change. This time on HTTP SSL certificates and the people who think self-signed certs are actually doing something.</p>
<p>I see this a lot on places like Slashdot, people&#8217;s blogs, mailing lists, etc. &#8220;SSL Certificates are worthless, self-signed certs are perfectly fine, Verisign are a rort charging money for nothing.&#8221; &#8211; and it&#8217;s <em>completely false</em>.</p>
<p>Simplified, SSL certificates consist of two main security properties &#8211; property #1, they facilitate public key encryption, which secures the transmission between you and a foreign entity from interception by a third party, and property #2 &#8211; they verify that the foreign entity on the other end is infact the server you want to be transmitting data to (ie, they are who they say they are.).</p>
<p>Both of these principles work in tandem &#8211; each server certificate is signed by a higher authority who vouches for the identity of the bearer; they are &#8220;signed&#8221; using cryptographic principles which prevent them from being tampered with. If a trustworthy third party cannot verify the certificate; then you do not know that the other party is really who you want to send data to.</p>
<p>While verification of identity has slipped with the price of certificates; you can be assured that the provider has at least verified the requestor is affiliated with the domain in question (ie; you cant just go out and get a certificate in paypal.com&#8217;s name). The stronger certificates, such as &#8220;EV&#8221; certificates (which get a green browser bar in modern browsers) &#8211; still require a full identity check.</p>
<p>This means, when you see that little padlock and dont get a self-signed warning; you know that the server you are speaking to is at least affiliated with the domain in question.</p>
<p>Which brings us to self-signed certificates. These are missing that little bit of verification &#8211; and the problem is, encryption&#8217;s purpose is to hide data from untrusted third parties; however with self-signed certificates, you dont know who you are communicating with in the first place &#8211; and hence the encryption is effectively worthless.</p>
<p>It&#8217;s quite possible for an attacker to generate a self-signed certificate in an identical name to the self-signed certificate you made, and then &#8216;proxy&#8217; the connection; seeing the encrypted data, with you none-the-wiser. The only way of telling them apart would be to examine the certificate fingerprint; however there are no real effective ways of validating the fingerprint of a site easily.</p>
<p>You might ask where would an attacker be able to do this kind of intercept if they didnt work at say an ISP between you and the server, and a very common answer would be wireless hotspots and public networks. The same techniques which allowed an attacker to <a href="http://www.boingboing.net/2004/08/06/replace_every_image_.html">replace every image served on the DEFCON conference WiFi network with Goatse</a> are the <em>exact same techniques</em> that would allow you to do a SSL-interception on a self-signed certificate.</p>
<p>So no &#8211; while the faux-SSL would raise the difficulty level <em>slightly</em>; it is not securing the connection; only a certificate signed by a trusted independent third party is secure. That does not have to be a subsidiary of verisign &#8211; but it does have to be a group who provide enough identity verification that they don&#8217;t hand out certificates to anyone who asks for one.</p>
<p>The default trusted authorities (CA&#8217;s) included in most major browsers consist of groups who provide some degree of identity verification. The browsers decisions on which CAs to include are based on this principle more than any other.</p>
<p>This also means, when Firefox shows you a big warning saying &#8216;This site has a screwed up security certificate&#8217; &#8211; take heed. It&#8217;s saying it for a reason; the site isn&#8217;t secure.</p>
<p><strong>Edit:</strong> for those who still dont believe self-signed certificates can be forged quickly or easily, <a href="http://www.thoughtcrime.org/software/sslsniff/index.html">read this</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.adamfrisby.com/blog/2009/07/the-myth-of-self-signed-security/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
