<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>#!/bin/blog &#187; ssl</title>
	<atom:link href="http://binblog.info/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://binblog.info</link>
	<description>&#34;It&#039;s hard to be humble when you&#039;re so fscking big!&#34;</description>
	<lastBuildDate>Wed, 01 Feb 2012 08:05:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='binblog.info' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>#!/bin/blog &#187; ssl</title>
		<link>http://binblog.info</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://binblog.info/osd.xml" title="#!/bin/blog" />
	<atom:link rel='hub' href='http://binblog.info/?pushpress=hub'/>
		<item>
		<title>WhatsApp: Protokollanalyse</title>
		<link>http://binblog.info/2011/06/18/whatsapp-protokollanalyse/</link>
		<comments>http://binblog.info/2011/06/18/whatsapp-protokollanalyse/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 11:32:59 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[datenschutz]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[whatsapp]]></category>

		<guid isPermaLink="false">http://binblog.info/?p=1837</guid>
		<description><![CDATA[Die Geschichte über die &#8220;Datenkrake WhatsApp&#8221; hat mir keine Ruhe gelassen, so daß ich einen Laboraufbau für eine kooperative Man-in-the-Middle-Operation mit Squid 3.1 aufgesetzt habe. Dank dessen Features für Content-Filter, Virenscan usw. konnte ich die SSL-Kommunikation von WhatsApp entschlüsseln. Damit bin ich zu einer Handvoll neuer Erkenntnisse gekommen. WhatsApp setzt beim Aufbau der Favoritenliste einen [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1837&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://binblog.info/2011/06/09/whatsapp-datenkraken-mythos/">Die Geschichte über die &#8220;Datenkrake WhatsApp&#8221;</a> hat mir keine Ruhe gelassen, so daß ich einen Laboraufbau für eine kooperative Man-in-the-Middle-Operation mit <a href="http://www.squid-cache.org/">Squid 3.1</a> aufgesetzt habe. Dank dessen Features für Content-Filter, Virenscan usw. konnte ich die SSL-Kommunikation von WhatsApp entschlüsseln.</p>
<p>Damit bin ich zu einer Handvoll neuer Erkenntnisse gekommen.</p>
<p>WhatsApp setzt beim Aufbau der Favoritenliste einen POST-Request an <a href="https://sro.whatsapp.net/client/iphone/iq.php">https://sro.whatsapp.net/client/iphone/iq.php</a> ab. Dieser enthält die folgenden Informationen.</p>
<p>Im HTTP-Header:</p>
<ul>
<li>Die Version von WhatsApp.</li>
<li>Die Betriebssystemversion des iPhone.</li>
<li>Die Hardwareversion des iPhone.</li>
</ul>
<p>Im HTTP-POST-Request:</p>
<ul>
<li>Die eigene Telefonnummer.</li>
<li>Die eigene Ländervorwahl.</li>
<li>Alle im Telefonbuch gefundenen Telefonnummern in Ziffernform ohne Trenn- oder Sonderzeichen, mit oder ohne Ländervorwahl, wie im Adreßbuch eingetragen.</li>
</ul>
<p>Bei WhatsApp antwortet ein lighttpd 1.4.28 mit PHP 5.3.5. Dieser beantwortet den POST-Request mit einem XML-Block, der pro gefundener Gegenstelle ein Dictionary mit den folgenden Werten enthält:</p>
<ul>
<li><strong>S</strong> &#8211; Die vom Benutzer eingegebene Status-Message.</li>
<li><strong>T</strong> &#8211; Das Alter der Status-Message in Sekunden.</li>
<li><strong>JID</strong> &#8211; Die Telefonnummer des Benutzers mit Länderkennnzeichen ohne führendes +.</li>
<li><strong>P</strong> &#8211; Die Telefonnummer des Benutzers in &#8220;wählbarer&#8221; Form mit Länderkennzeichen und führendem +.</li>
<li><strong>NP</strong> &#8211; Entweder nicht gesetzt oder mit dem Wert <em>true</em>. Funktion unbekannt.</li>
</ul>
<p>Die Faktenlage ist damit wie folgt ausgebaut:</p>
<ul>
<li>Um die Favoritenliste zu generieren, wird keine Übertragung des gesamten Adressbuchs vorgenommen.</li>
<li>Es werden jedoch alle im Adressbuch enthaltenen Telefonnummern übertragen, um zu prüfen, ob dahinter ein WhatsApp-Account steckt.</li>
<li>Außer den Telefonnummern wird keine Information übertragen.</li>
</ul>
<p>Die Kommunikation während des Chat selbst habe ich nicht betrachtet.</p>
<p>Ihr könnt euch jetzt euren Teil denken. Die im <a href="http://binblog.info/2011/06/09/whatsapp-datenkraken-mythos/">vorigen Post</a> aufgestellten Vermutungen über die Kommunikation sind damit bestätigt, bis auf das Hashing, das im Fall von Telefonnummern aber vermutlich eher eine Verschleierung wäre.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/1837/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/1837/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/1837/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1837&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2011/06/18/whatsapp-protokollanalyse/feed/</wfw:commentRss>
		<slash:comments>22</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>Dealing with lengthy SSL certificate chains</title>
		<link>http://binblog.info/2010/02/02/lengthy-chains/</link>
		<comments>http://binblog.info/2010/02/02/lengthy-chains/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 15:16:33 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[chain]]></category>
		<category><![CDATA[intermediate]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[x509]]></category>

		<guid isPermaLink="false">http://binblog.info/?p=1603</guid>
		<description><![CDATA[Comodo delivers the cheapest widely-recognized certificates (available e.g. via psw.net), second only to the famed StartSSL Free CA, which I haven&#8217;t had the guts to try out so far. What I got from Comodo, is my server cert, along with no less than three intermediate certificates: AddTrustExternalCARoot.crt issuer= /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1603&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.comodo.com">Comodo</a> delivers the cheapest widely-recognized certificates (available e.g. via <a href="http://psw.net">psw.net</a>), second only to the famed <a href="http://www.startssl.com/">StartSSL Free</a> CA, which I haven&#8217;t had the guts to try out so far. What I got from Comodo, is my server cert, along with no less than three intermediate certificates:</p>
<p><strong>AddTrustExternalCARoot.crt</strong><br />
<code>issuer= /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root<br />
subject= /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root</code></p>
<p><strong>UTNAddTrustServerCA.crt</strong><br />
<code>issuer= /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root<br />
subject= /C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware</code></p>
<p><strong>PositiveSSLCA.crt</strong><br />
<code>issuer= /C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware<br />
subject= /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=PositiveSSL CA</code></p>
<p><strong>Server.crt</strong><br />
<code>issuer= /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=PositiveSSL CA</code></p>
<p>You can obtain this information by running, e.g.: </p>
<p><code>for c in $(ls *crt); do echo -e "\n$c"; openssl x509 -issuer -subject -noout -in $c; done</code></p>
<p>Note how I have ordered them from the root certificate on top to the server certificate on the bottom, each being the issuer of the succeeding one. Did I say root certificate? Good news then: AddTrust is the root certificate, hence it does not need to be deployed, which leaves me with a chain of two.</p>
<p>I will need to deploy the certificates into Postfix and Dovecot, which use an all-in-one file that contains the complete chain, including the server certificate. Other servers, such as the Apache webserver, use a server certificate file and a separate file containing the intermediate certificates. Which is the method I prefer. But you just can&#8217;t always get what you want. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>I learned the hard way that certificate order does matter. <a href="http://tools.ietf.org/html/rfc5246#section-7.4.2">RFC 5246 states</a>:</p>
<blockquote><p>The sender&#8217;s certificate must come first in the list.  Each following<br />
      certificate must directly certify the one preceding it.  Because<br />
      certificate validation requires that root keys be distributed<br />
      independently, the self-signed certificate that specifies the root<br />
      certificate authority may optionally be omitted from the chain,<br />
      under the assumption that the remote end must already possess it<br />
      in order to validate it in any case.</p></blockquote>
<p>Thus, the all-in-one file needs to start with the server certificate, followed by the certificate that issued the server certificate, all the way down to the one that is farthest away from the server certificate: 1) Server, 2) PositiveSSLCA, 3) UTNAddTrustServerCA</p>
<p>For servers that use a separate intermediate file, the order is the same, with the difference that the server certificate resides in its own file.</p>
<p>I recommend to maintain the subject and issuer information of all components of the all-in-one file so it won&#8217;t have to be dissected at a later point in order to understand what it contains. My starting point is the server cert, to which I will append the intermediate certs:</p>
<p>1) Locate the issuing certificate of the server cert (-&gt; output above) and append the respective certificate to the server cert.<br />
2) Locate the issuing certificate of the previously appended certificate and append it to the server cert.<br />
3) Repeat until the root CA certificate has been reached.</p>
<p>In my case:<br />
<code>openssl x509 -in server.crt -subject -issuer &gt; server-allinone.crt<br />
openssl x509 -in PositiveSSLCA.crt -subject -issuer &gt;&gt; server-allinone.crt<br />
openssl x509 -in UTNAddTrustServerCA.crt -subject -issuer &gt;&gt; server-allinone.crt</code> </p>
<p>Now I have a handy file ready for deployment:</p>
<p><code>subject= /OU=Domain Control Validated/OU=PositiveSSL/CN=server<br />
issuer= /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=PositiveSSL CA<br />
-----BEGIN CERTIFICATE-----<br />
...<br />
-----END CERTIFICATE-----<br />
subject= /C=GB/ST=Greater Manchester/L=Salford/O=Comodo CA Limited/CN=PositiveSSL CA<br />
issuer= /C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware<br />
-----BEGIN CERTIFICATE-----<br />
...<br />
-----END CERTIFICATE-----<br />
subject= /C=US/ST=UT/L=Salt Lake City/O=The USERTRUST Network/OU=http://www.usertrust.com/CN=UTN-USERFirst-Hardware<br />
issuer= /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root<br />
-----BEGIN CERTIFICATE-----<br />
...<br />
-----END CERTIFICATE-----</code></p>
<p>The main point is that you must understand how the certificates relate to each other. The <em>issuer</em> and <em>subject</em> fields are the key all the way through the procedure.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/1603/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/1603/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/1603/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1603&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2010/02/02/lengthy-chains/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>IMAP on the iPhone with SSL client certificates</title>
		<link>http://binblog.info/2009/11/12/imap-on-the-iphone-with-ssl-client-certificates/</link>
		<comments>http://binblog.info/2009/11/12/imap-on-the-iphone-with-ssl-client-certificates/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 22:02:55 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=698</guid>
		<description><![CDATA[The IMAP server in my office is configured to not simply accept username/password authenticated connections from the internet. As an additional security measure, it requires the client to present a valid SSL client certificate, issued by the internal CA, resulting in mutual SSL authentication. The Mail client on the iPhone, on the other hand, does [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=698&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The IMAP server in my office is configured to not simply accept username/password authenticated connections from the internet. As an additional security measure, it requires the client to present a valid SSL client certificate, issued by the internal CA, resulting in <a href="http://monduke.com/2006/06/04/the-fifteen-minute-guide-to-mutual-authentication/">mutual SSL authentication</a>. </p>
<p>The Mail client on the iPhone, on the other hand, does not support SSL client certificates. While it is possible to deploy a client certificate using the <a href="http://www.apple.com/support/iphone/enterprise/">iPhone configuration utility</a>, this cert will only be presented to web servers, but not to mail servers. </p>
<p>My workaround is to use <a href="http://www.stunnel.org/"><em>stunnel</em>, the universal SSL wrapper</a>, on the iPhone. This, of course, requires the iPhone to be jailbroken. I&#8217;ll leave the jailbreak and installation of <em>stunnel</em> as an excercise to you. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I&#8217;m running <em>stunnel</em> as the &#8220;<em>mobile</em>&#8221; user, thus all the required files reside in <em>/var/mobile</em>. The files are:</p>
<p>- The <em>stunnel</em> configuration: <em>/var/mobile/stunnel.conf</em><br />
- The SSL certificate: <em>/var/mobile/cert.pem</em><br />
- The key matching the SSL certificate: <em>/var/mobile/key.pem</em></p>
<p><em>Stunnel</em> is configured as an SSL client. The commented-out lines may be useful for troubleshooting.  I have added <em>10000</em> to the regular IMAP and SMTP ports so they are beyond the privileged port range that may only be used by root.</p>
<p><tt>cert=/var/mobile/cert.pem<br />
key=/var/mobile/key.pem<br />
pid = /var/mobile/stunnel.pid<br />
sslVersion = TLSv1<br />
# Resolve server hostname at every reconnect,<br />
# not only on startup (for dyndns!):<br />
delay = yes<br />
#foreground = yes<br />
#debug = 7</p>
<p>[imap]<br />
accept=127.0.0.1:10143<br />
connect=example.dyndns.org:993<br />
client=yes</p>
<p>[smtp]<br />
accept=127.0.0.1:10025<br />
connect=example.dyndns.org:465<br />
client=yes</tt></p>
<p>My key is password protected, thus I start <em>stunnel</em> from <a href="http://code.google.com/p/mobileterminal/">Mobile Terminal</a> after bootup:</p>
<p><tt>stunnel stunnel.conf</tt></p>
<p>Having a method for starting <em>stunnel</em> automatically with passphrase-less keys would be nice, but has no priority for me. Using a <em>LaunchDaemons</em> entry for this shouldn&#8217;t be a problem anyway.</p>
<p>The mail settings on the iPhone are configured to access IMAP and SMTP on <em>localhost</em>, port 10143 and 10025, respectively. <em>SSL encryption is turned off</em> for both.</p>
<p>This setup is surprisingly robust. The current running <em>stunnel</em> daemon has been started 4 days ago and has already survived a few changes of the dynamic IP address of the mail server. I have not had a single hiccup since I figured out that I need the &#8220;<em>delay=yes</em>&#8221; option in the configuration file to keep up with DynDNS changes. If your mail server isn&#8217;t on a dynamic IP address, all the better.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/698/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/698/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/698/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=698&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2009/11/12/imap-on-the-iphone-with-ssl-client-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>Verisign und OCSP</title>
		<link>http://binblog.info/2008/07/10/verisign-und-ocsp/</link>
		<comments>http://binblog.info/2008/07/10/verisign-und-ocsp/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 20:36:10 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[ocsp]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[verisign]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=157</guid>
		<description><![CDATA[Was mir heute nicht so gut in den Kram gepaßt hat: $KUNDE warf mir nochmal 50 SSL-Zertifikate vor die Füße, zwecks Überprüfung, von denen 38 für das Debian-SSL-Problem empfänglich waren. Aber ich hab ja mittlerweile Routine. Also wurden neue CSRs generiert, welche er bei Verisign (RSA/&#8221;Secure Server Certification Authority&#8221;) zum Re-Issue eingereicht hat. Minuten später [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=157&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Was mir heute nicht so gut in den Kram gepaßt hat: </p>
<p>$KUNDE warf mir nochmal 50 SSL-Zertifikate vor die Füße, zwecks Überprüfung, von denen 38 für das Debian-SSL-Problem empfänglich waren. Aber ich hab ja mittlerweile Routine.</p>
<p>Also wurden neue CSRs generiert, welche er bei Verisign (RSA/&#8221;Secure Server Certification Authority&#8221;) zum Re-Issue eingereicht hat. Minuten später kam der erste mit einer Firefox-Fehlermeldung um die Ecke:<br />
<a href="http://binblog.files.wordpress.com/2008/07/shot-20080710220715.png"><img src="http://binblog.files.wordpress.com/2008/07/shot-20080710220715.png" alt="" width="400" height="234" class="alignnone size-full wp-image-160" /></a></p>
<p>Die verantwortliche Konfigurationsoption war dann auch schnell identifiziert:<br />
<a href="http://binblog.files.wordpress.com/2008/07/shot-20080710220823.png"><img src="http://binblog.files.wordpress.com/2008/07/shot-20080710220823.png" alt="" width="661" height="84" class="alignnone size-full wp-image-159" /></a></p>
<p>Willkommen im Dilemma. So schwer es mir fällt, zu bestreiten, daß diese Voreinstellung in Firefox 3.0 auf den Tag genau zur rechten Zeit kommt, so  unangebracht finde ich es, daß Verisign ein Zertifikat, dessen Austausch es gerade mal so mit Ach und Krach in die Mailbox der Administratoren geschafft hat, sofort per OCSP als gesperrt propagiert. </p>
<p>Gerade weil es jetzt so weit ist, daß OCSP, das Online Certificate Status Protokoll, tatsächlich genutzt wird, wäre eine gewisse Galgenfrist von mindestens 1 Tag bis vielleicht 1 Woche mehr als angemessen. Insbesondere bei einer Massenaktion mit einem Umfang von mehreren Dutzend Zertifikaten ist mir persönlich nämlich schleierhaft, wie man die Zertifikate im Rahmen von Change-Prozessen derart schnell auf die Produktivserver katapultieren soll. </p>
<p>Wenn man nochmal 30 Sekunden drüber nachdenkt, kommt man übrigens zur Erkenntnis, daß es auch mit einem einzigen Zertifikat kaum sauber hinzubekommen ist. Auf einer hochgradig produktiven SSL-Site muß man, wenn die CA einen OCSP Distribution Point bereitstellt, in Zukunft auf den Re-Issue verzichten und additiv ein neues Zertifikat dazukaufen, um es überhaupt ohne Ausfall tauschen zu können. Ob das wirklich im Sinne des Erfinders ist?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/157/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/157/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/157/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/157/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/157/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=157&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2008/07/10/verisign-und-ocsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>

		<media:content url="http://binblog.files.wordpress.com/2008/07/shot-20080710220715.png" medium="image" />

		<media:content url="http://binblog.files.wordpress.com/2008/07/shot-20080710220823.png" medium="image" />
	</item>
		<item>
		<title>SGC(&#8220;Step-Up&#8221;)-Zertifikate</title>
		<link>http://binblog.info/2008/07/02/sgcstep-up-zertifikate/</link>
		<comments>http://binblog.info/2008/07/02/sgcstep-up-zertifikate/#comments</comments>
		<pubDate>Wed, 02 Jul 2008 21:12:40 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=149</guid>
		<description><![CDATA[Verlautbarung von heute an einen Kunden, der SGC-Zertifikate einsetzen will, um möglichst lückenlos alle Browser zu unterstützen: &#8220;Vom Einsatz von Step-Up/SGC-Zertifikaten, die die Verwendung von Browsern ermöglichen, die der vor dem Jahr 2000 gültigen Exportbeschränkung der USA unterliegen, wird abgeraten. Es wird empfohlen, die Unterstützung veralteter Browser, für die keinerlei Updates mehr verfügbar sind, aus [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=149&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Verlautbarung von heute an einen Kunden, der SGC-Zertifikate einsetzen will, um möglichst lückenlos alle Browser zu unterstützen:</p>
<blockquote><p><em>&#8220;Vom Einsatz von Step-Up/SGC-Zertifikaten, die die Verwendung von Browsern ermöglichen, die der vor dem Jahr 2000 gültigen Exportbeschränkung der USA unterliegen, wird abgeraten. Es wird empfohlen, die Unterstützung veralteter Browser, für die keinerlei Updates mehr verfügbar sind, aus Sicherheitsgründen einzustellen.&#8221;</em></p></blockquote>
<p>Mit den SGC-Zertifikaten (&#8220;<a href="http://en.wikipedia.org/wiki/Server_gated_cryptography">Server Gated Cryptography</a>&#8220;), je nach Marketingmasche auch &#8220;Step-Up&#8221; genannt, ist das so: Bis Anfang 2000 gab es seitens der USA diese beschränkte Exportbeschränkung, nach der &#8220;starke&#8221; Verschlüsselung als Kriegswaffe zu behandeln war und deshalb nur unter strengsten Auflagen aus den USA ausgeführt werden durfte. Nun kamen aber alle halbwegs relevanten Web-Browser aus USA (Netscape, Internet Explorer). Wegen der Ausfuhrbeschränkung war in diesen die Schlüssellänge für SSL auf 40 Bit begrenzt. Weil man aber auch schon in den 1990ern Knete mit E-Business machen wollte, gab es verschiedene CAs, die mit Segen der US-Regierung für Banken &amp; Co. Zertifikate ausstellten, bei deren Anblick der Browser seine Exportbeschränkung vergaß und auf 128 Bit Schlüssellänge umschaltete. Das war dann die &#8220;Step-Up&#8221;-Security.</p>
<p>Die Exportbeschränkung ist 2000 gefallen, aber die CAs bieten die SGC-Zertifikate noch immer an und lassen sie sich fürstlich bezahlen. Thawte nimmt für ein Jahr Laufzeit z.B. <a href="http://www.thawte.com/process/retail/new_sgc?language=en&amp;productInfo.productType=sgc3">lässige 699 US-Dollar</a> und haut mächtig auf die Sahne:</p>
<blockquote><p><em>Provide the best encryption available for each site visitor. Without an SGC-enabled certificate on your site, your visitors using certain older browsers and many Windows 2000 users will only receive 40- or 56-bit encryption.</em></p></blockquote>
<p>Ich halte ja nicht extrem viel von diesem hysterischen Getue, nach dem jedes irgendwo greifbare Security-Update sofort installiert werden muß, auch wenn es für einen obskuren Teil des Betriebssystems gilt, den man im ganzen Leben noch nicht benutzt hat. Hier geht es nun aber um Web-Browser und somit um die Killerapplikation der letzten Dekade. Wer SGC einsetzt, unterstützt aktiv folgende Browserversionen:</p>
<ul>
<li>Internet Explorer 5 (Aktuelle Version: 7)</p>
<li>Netscape 4 (Aktuelle Version: 9, Entwicklung ist eingestellt)
<li>Opera 3 (Aktuelle Version: 9)</ul>
<p>Als gut abgehangener Linux-User bin ich es ja gewohnt, jahrelang aktiv von irgendwelchen Webseiten ausgesperrt worden zu sein. Solche Unverschämtheiten vergißt man nicht. In diesem Fall ist es allerdings mehr als angebracht, die eigenen Kunden vorm Gebrauch dieser antiken Exploit-Schleudern zu schützen. </p>
<p>Ich mußte mich da auch erstmal reinlesen, da ich mich nicht erinnern kann, selbst Erfahrungen damit gesammelt zu haben, abgesehen von einem total inoffizellen Patch für den Netscape Navigator, mit dem man diese Exportgeschichte irgendwie global abschalten konnte.</p>
<p>Der Kunde von oben zeigt auf seiner Homepage übrigens ein Flash-Video an und weist ausdrücklich darauf hin, daß die Seite nur mit IE ab Version 6, Netscape ab Version 6 oder Mozilla ab Version 1.0 benutzbar ist. Das ist dann der Punkt, an dem die Sache ins Absurde übergeht. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/149/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/149/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/149/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/149/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/149/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=149&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2008/07/02/sgcstep-up-zertifikate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>Surfin&#8217; the post 5/13 world.</title>
		<link>http://binblog.info/2008/06/21/surfin-the-post-513-world/</link>
		<comments>http://binblog.info/2008/06/21/surfin-the-post-513-world/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 22:27:32 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=144</guid>
		<description><![CDATA[Das audit-ssl-Script (.tar.gz) ist funktional in der Lage, Seiten mit angreifbaren SSL-Zertifikaten zu erkennen. Komfortabler und plattformübergreifend tut es aber die SSL Blacklist Extension für den Firefox: Auch zu empfehlen als kleiner Warnschuß an Anwender, die sich weigern, Zertifikate auszutauschen: &#8220;Firefox zeigt bereits eine Warnmeldung an. Was wirst Du Deinen Kunden erzählen, wenn der Internet [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=144&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Das <a href="http://www.gokickrocks.us/wp-content/uploads/2008/05/audit-ssl.tar.gz">audit-ssl-Script</a> (.tar.gz) ist funktional in der Lage, Seiten mit angreifbaren SSL-Zertifikaten zu erkennen. Komfortabler und plattformübergreifend tut es aber die <a href="http://codefromthe70s.org/sslblacklist.asp">SSL Blacklist Extension</a> für den Firefox:</p>
<p><a href="http://binblog.files.wordpress.com/2008/06/screenshot-ssl-blacklist.jpg"><img src="http://binblog.files.wordpress.com/2008/06/screenshot-ssl-blacklist.jpg" alt="" width="351" height="255" class="alignnone size-full wp-image-145" /></a></p>
<p>Auch zu empfehlen als kleiner Warnschuß an Anwender, die sich weigern, Zertifikate auszutauschen: <em>&#8220;Firefox zeigt bereits eine Warnmeldung an. Was wirst Du Deinen Kunden erzählen, wenn der Internet Explorer das nach dem nächsten Microsoft-Patchday ebenfalls macht?&#8221;</em></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/144/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/144/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/144/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/144/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/144/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=144&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2008/06/21/surfin-the-post-513-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>

		<media:content url="http://binblog.files.wordpress.com/2008/06/screenshot-ssl-blacklist.jpg" medium="image" />
	</item>
		<item>
		<title>OpenSSL: Key, CSR und Zertifikat auf Übereinstimmung prüfen</title>
		<link>http://binblog.info/2008/06/04/openssl-key-csr-und-zertifikat-auf-ubereinstimmung-prufen/</link>
		<comments>http://binblog.info/2008/06/04/openssl-key-csr-und-zertifikat-auf-ubereinstimmung-prufen/#comments</comments>
		<pubDate>Wed, 04 Jun 2008 17:17:03 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=128</guid>
		<description><![CDATA[Der 13. Mai hat mein ohnehin schon verpfuschtes Leben in eine verdammte Hölle aus Zertifikaten, Keys und Certificate Signing Requests verwandelt. Und dann heute mal was neues: Beim Kunden wollte ein Webserver mit einem der von der CA neu ausgestellten Zertifikate nicht mehr starten. Key und Zertifikat paßten nicht zusammen. Wie man ermitteln kann, ob [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=128&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Der <a href="http://binblog.wordpress.com/2008/05/13/das-jungste-gerucht/">13. Mai</a> hat mein ohnehin schon verpfuschtes Leben in eine verdammte Hölle aus Zertifikaten, Keys und Certificate Signing Requests verwandelt. Und dann heute mal was neues: Beim Kunden wollte ein Webserver mit einem der von der CA neu ausgestellten Zertifikate nicht mehr starten. Key und Zertifikat paßten nicht zusammen.</p>
<p>Wie man ermitteln kann, ob ein Zertifikat zum CSR paßt, klingt z.B. <a href="http://helpdesk.wisc.edu/middleware/page.php?id=4064">hier</a> oder in der <a href="http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#verify">Apache-FAQ</a> an:</p>
<p><code><tt>
<pre>
# openssl x509 -in example.com-cert.pem -noout -modulus | openssl sha1
5ba93c9db0cff93f52b521d7420e43f6eda2784f
# openssl req -in example.com-req.pem -noout -modulus | openssl sha1
5ba93c9db0cff93f52b521d7420e43f6eda2784f
</pre>
<p></tt></code></p>
<p>So ließ sich dann recht einfach ermitteln, daß die CA tatsächlich nicht den neuen, sondern einen dort gespeicherten alten Certificate Signing Request für die Neuausstellung des Zertifikats benutzt hatte. Worauf dann unmittelbar die Frage folgte, ob davon vielleicht auch noch andere der 50 neu ausgestellten Zertifikate betroffen sein könnten.</p>
<p>Also mußte ein Script her, das weniger sperrig war als die o.g. OpenSSL-Aufrufe, und dem man vorzugsweise nicht sagen muß, um was es sich bei der jeweils präsentierten Datei handelt:</p>
<p><code><tt>
<pre>
#!/bin/sh
# Script: ssl_matchchk
for i in "$@"
do
  openssl x509 -in $i -noout &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
    echo `openssl x509 -in $i -modulus -noout 2&gt;/dev/null | openssl sha1` $i
  openssl req  -in $i -noout &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
    echo `openssl req  -in $i -modulus -noout 2&gt;/dev/null | openssl sha1` $i
  openssl rsa  -in $i -noout &gt;/dev/null 2&gt;&amp;1 &amp;&amp;
    echo `openssl rsa  -in $i -modulus -noout 2&gt;/dev/null | openssl sha1` $i
done
</pre>
<p></tt></code></p>
<p>Mit diesem Script, dem es zugegebenermaßen an einer sauberen Fehlerbehandlung fehlt, und mit einem kleinen weiteren Shell-Einzeiler ließ sich dann relativ flott sicherstellen, daß nur ein einziges Zertifikat von einer solchen Verwechslung betroffen war. Schwein gehabt. <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/128/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/128/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/128/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/128/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/128/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=128&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2008/06/04/openssl-key-csr-und-zertifikat-auf-ubereinstimmung-prufen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>Perlen vor die Säue</title>
		<link>http://binblog.info/2008/02/18/perlen-vor-die-saue/</link>
		<comments>http://binblog.info/2008/02/18/perlen-vor-die-saue/#comments</comments>
		<pubDate>Mon, 18 Feb 2008 05:47:35 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.wordpress.com/?p=57</guid>
		<description><![CDATA[Neulich, im Rahmen der Dovecot-Bastelaktion, hatte ich übrigens mal in den Logs geschaut, wie groß der Anteil meiner User ist, die SMTP und POP3 mit SSL benutzen. Er beträgt genau: Null. In Sachen Sicherheit liegt die Arbeit wirklich auf der Straße. Dumm, daß es sich dabei nicht um so einfachen Pillepallekram wie z.B. das Erfinden [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=57&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Neulich, im Rahmen der <a href="http://binblog.wordpress.com/2008/02/09/tpop3d-migrationspfad/">Dovecot-Bastelaktion</a>, hatte ich übrigens mal in den Logs geschaut, wie groß der Anteil meiner User ist, die SMTP und POP3 mit SSL benutzen.</p>
<p>Er beträgt genau: Null.</p>
<p>In Sachen Sicherheit liegt die Arbeit wirklich auf der Straße. Dumm, daß es sich dabei nicht um so einfachen Pillepallekram wie z.B. das Erfinden unknackbarer Verschlüsselungsalgorithmen handelt, sondern um die wirklich harte Überzeugungsarbeit an der Basis, mit der man die Leute dazu bringen müßte, auch mal wirklich das Kreuzchen bei &#8220;SSL benutzen&#8221; zu setzen und nachzufragen, wenn es dabei zu Unstimmigkeiten kommt.</p>
<p>Wenn ich mir dann auch noch anschaue, wie viele selbstsignierte und seit Jahren abgelaufene Zertifikate selbst auf Mailexchangern im Unternehmensbereich unterwegs sind, wird mir Angst und Bange. Und mit den Gammelzertifikaten sind noch die &#8220;guten&#8221; Installationen. Bei denen ist nämlich die Infrastruktur schon da und sie müßten nur mal für eine Handvoll Euro ein ordentliches Zertifikat verpaßt bekommen. </p>
<p>E-Mail-Sicherheit ist meiner Auffassung nach das ganz große Stiefkind in den Firmen. Anders als beim Webbrowser, wo das kleine Vorhängeschloß angezeigt wird, sieht nämlich niemand, wenn die Sicherheit der E-Mails auf die leichte Schulter genommen wird. Und so werden dann die per teurem SSL-Zertifikat vom Webserver empfangenen persönlichen- und Kreditkartendaten munter im Klartext per Mail versendet und unverschlüsselt mit Plaintext-Kennwort per POP3 abgeholt. Ist bisher ja immer gutgegangen.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/57/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/57/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=57&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2008/02/18/perlen-vor-die-saue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>PEM nach P12 konvertieren</title>
		<link>http://binblog.info/2007/08/15/pem-nach-p12-konvertieren/</link>
		<comments>http://binblog.info/2007/08/15/pem-nach-p12-konvertieren/#comments</comments>
		<pubDate>Wed, 15 Aug 2007 08:09:15 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[p12]]></category>
		<category><![CDATA[pem]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://binblog.de/2007/08/15/pem-nach-p12-konvertieren/</guid>
		<description><![CDATA[Um Zertifikate aus der OpenSSL-Welt mit Mozilla nutzbar zu machen: openssl pkcs12 -export -in my.cert.pem -inkey my.key.pem -out my.p12 Zur Info auch noch der Rückweg von P12 nach PEM: openssl pkcs12 -in my.p12 -out my.combo.pem<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1505&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Um Zertifikate aus der OpenSSL-Welt mit Mozilla nutzbar zu machen:</p>
<p><tt>openssl pkcs12 -export -in my.cert.pem -inkey my.key.pem -out my.p12</tt></p>
<p>Zur Info auch noch der Rückweg von P12 nach PEM:</p>
<p><tt>openssl pkcs12 -in my.p12 -out my.combo.pem</tt></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/1505/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/1505/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/1505/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/1505/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/1505/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1505&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2007/08/15/pem-nach-p12-konvertieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
		<item>
		<title>Applikations-VPN</title>
		<link>http://binblog.info/2007/08/08/applikations-vpn/</link>
		<comments>http://binblog.info/2007/08/08/applikations-vpn/#comments</comments>
		<pubDate>Wed, 08 Aug 2007 08:31:07 +0000</pubDate>
		<dc:creator>martin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[tls]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://binblog.de/2007/08/08/applikations-vpn/</guid>
		<description><![CDATA[Aus einem Protokoll beim Kunden: Der Mailverkehr zur Gegenstelle X wird mit Transport Layer Security (&#8220;Applikations-VPN&#8221;) verschlüsselt. Ich bin hin- und hergerissen, ob ich diese vollkommen ungenaue Analogie einfach nur haarsträubend, oder einfach nur genial finden soll, aber tendiere zu letzterem.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1503&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Aus einem Protokoll beim Kunden:</p>
<blockquote><p><i>Der Mailverkehr zur Gegenstelle X wird mit Transport Layer Security (&#8220;Applikations-VPN&#8221;) verschlüsselt.</i></p></blockquote>
<p>Ich bin hin- und hergerissen, ob ich diese vollkommen ungenaue Analogie einfach nur haarsträubend, oder einfach nur genial finden soll, aber tendiere zu letzterem.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/binblog.wordpress.com/1503/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/binblog.wordpress.com/1503/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/binblog.wordpress.com/1503/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/binblog.wordpress.com/1503/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/binblog.wordpress.com/1503/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=binblog.info&amp;blog=2416043&amp;post=1503&amp;subd=binblog&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://binblog.info/2007/08/08/applikations-vpn/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">martin</media:title>
		</media:content>
	</item>
	</channel>
</rss>
