<?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>instant-thinking.de &#187; ssl</title>
	<atom:link href="http://instant-thinking.de/tag/ssl/feed/" rel="self" type="application/rss+xml" />
	<link>http://instant-thinking.de</link>
	<description>Just enough to get you started and leave you confused</description>
	<lastBuildDate>Fri, 10 Sep 2010 13:58:49 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>QuickLinks vom 30. Juni bis zum 9. Juli</title>
		<link>http://instant-thinking.de/2010/07/10/quicklinks-vom-30-juni-bis-zum-9-juli/</link>
		<comments>http://instant-thinking.de/2010/07/10/quicklinks-vom-30-juni-bis-zum-9-juli/#comments</comments>
		<pubDate>Sat, 10 Jul 2010 06:02:12 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[7]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[explorer]]></category>
		<category><![CDATA[feed]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[googlereader]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[gui]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[iphoto]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[offline]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[organisation]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[paper]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svk]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[testing]]></category>
		<category><![CDATA[tunnel]]></category>
		<category><![CDATA[txt]]></category>
		<category><![CDATA[versioncontrol]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/?p=2360</guid>
		<description><![CDATA[Meine delicious.com-Links vom 30. Juni bis zum 9. Juli: [...]]]></description>
			<content:encoded><![CDATA[<p>Meine <a href="http://delicious.com/der_dennis" class="lidelicious">delicious.com-Links</a> vom 30. Juni bis zum 9. Juli:</p>

<ul>
<li><a href="http://www.passwordcard.org/en" class="liexternal">Your PasswordCard</a> &#8211; is a credit card-sized card you keep in your wallet, which lets you pick very secure passwords for all your websites, without having to remember them! You just keep them with you, and even if your wallet does get stolen, the thief will still not know your actual passwords.</li>
<li><a href="http://www.rutschle.net/tech/sslh.shtml" class="liexternal">sslh &#8211; ssl/ssh multiplexer</a> &#8211; lets one accept both HTTPS and SSH connections on the same port. It makes it possible to connect to an SSH server on port 443 (e.g. from inside a corporate firewall) while still serving HTTPS on that port.</li>
<li><a href="http://utsl.gen.nz/talks/git-svn/intro.html" class="liexternal">An introduction to git-svn for Subversion/SVK users and deserters</a> &#8211; This article is aimed at people who want to contribute to projects which are using Subversion as their code-wiki</li>
<li><a href="http://codesorcery.net/meerkat" class="liexternal">Meerkat</a> &#8211; An easy-to-use SSH tunnel manager built specifically for the Mac. Shareware, $19,95&#8230;</li>
<li><a href="http://codaset.com/robwilkerson/add-to-google-reader/wiki" class="liexternal">Add to Google Reader Safari Extension</a> &#8211; captures a click on the RSS button and redirects the feed preview page in Google Reader where the user can subscribe immediately.</li>
<li><a href="http://www.windowspro.de/wolfgang-sommergut/test-windows-7-backup-was-es-kann-und-was-nicht?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed%3A+windowspro+%28WindowsPro%29" class="liexternal">Test: Windows 7 Backup &#8211; was es kann und was nicht</a> &#8211; So was kann man offenbar nicht auf gew&ouml;hnliche Enduser los lassen&#8230;</li>
<li><a href="http://al3xandr3.github.com/2008/11/25/ruby-foto-organizer.html" class="liexternal">Little &#039;ruby&#039; photo organizer</a> &#8211; Place this script in a folder full of pictures, run it, and it will organize the pictures into folders by the day they were taken.</li>
<li><a href="https://www.tarsnap.com/index.html" class="liexternal">Tarsnap</a> &#8211; is a secure online backup service for BSD, Linux, OS X, Solaris, Cygwin, and can probably be compiled on many other UNIX-like operating systems. The Tarsnap client code provides a flexible and powerful command-line interface which can be used directly or via shell scripts.</li>
<li><a href="http://sourceforge.net/projects/gitextensions/" class="liexternal">Git Extensions</a> &#8211; is a toolkit to make working with Git under Windows more intuitive. The shell extension will intergrate in Windows Explorer and presents a nice context menu on files.</li>
<li><a href="http://www.fraiseapp.com/index.php" class="liexternal">Fraise</a> &#8211; is a free text editor for Mac OS X Leopard 10.6 which is both easy to use and powerful. It is designed to neither confuse newcomers nor disappoint advanced users. It should work perfectly for a whole variety of needs &ndash; like web programming, script editing, making a to do list and so on..</li>

</ul>
]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2010/07/10/quicklinks-vom-30-juni-bis-zum-9-juli/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTPS f&#252;r einen Mac OS X Webserver</title>
		<link>http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/</link>
		<comments>http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#comments</comments>
		<pubDate>Wed, 26 Aug 2009 18:25:23 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[mod_ssl]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/?p=1917</guid>
		<description><![CDATA[Wenn man einen Webserver unter Mac OS X betreibt, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://instant-thinking.de/wp-content/uploads/2009/08/Wireshark_Roundcube_Passwort.jpg" rel="lightbox" class="liimagelink"><img src="http://instant-thinking.de/wp-content/uploads/2009/08/Wireshark_Roundcube_Passwort.jpg" alt="Wireshark_Roundcube_Passwort" title="Wireshark_Roundcube_Passwort" width="400" class="center" /></a></p>

<p>Wenn man einen Webserver unter Mac OS X betreibt, und ausserdem m&#246;chte, dass die gesamte Kommunikation mit diesem verschl&#252;sselt abl&#228;uft, wird man sich fr&#252;her oder sp&#228;ter mit dem <code><a href="http://www.modssl.org/" class="liexternal">mod_ssl</a></code>-Modul des Apache Webservers befassen. Dieses fantastische St&#252;ck Software sorgt beispielsweise daf&#252;r, dass nicht jeder der im gleichen WLAN sitzt oder sonst irgendwie den Datenverkehr mitschneiden kann, auch die Usernamen, Passw&#246;rter oder sonstige interessante Daten frei Haus erh&#228;lt. In dem oben stehenden Bild ist mein Login &#252;ber HTTP sch&#246;n zu sehen<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_0_1917" id="identifier_0_1917" class="footnote-link footnote-identifier-link" title="Und nein, mein Passwort ist &uuml;blicherweise nicht &ldquo;test123&Prime;">1</a></sup>.</p>

<p>Wie man das ganze unter OS X recht flugs, allerdings auch nicht so richtig geeignet f&#252;r ein echtes Produktivsystem, hin bekommt wird hier in f&#252;nf Schritten beschrieben.</p>

<ol>
    <li>Erstellung einer eigenen Certification Authority (CA)</li>
    <li>Erstellung eines Private Key f&#252;r den Web Server</li>
    <li>Erstellung eines Certificate Request f&#252;r den gerade erstellten Private Key des Webservers</li>
    <li>Unterschreiben des Certificate Request mit dem Key der CA</li>
    <li>Anpassen der Apache-Configs</li>

</ol>

<p>Weiter geht es nach dem Klick&#8230;</p>

<p><strong>Erstellung einer eigenen Certification Authority</strong></p>

<p>Man erstellt auf der Konsole in seinem &#8220;Dokumente&#8221; Verzeichnis einen neuen Ordner und wechselt hinein. So sind die Zertifikate h&#252;bsch ordentlich aufgehoben.</p>

<p><code class="prettyprint">
cd ~/Documents
mkdir certs
cd certs
</code></p>

<p>In diesem Verzeichnis wird dann mit dem CA.pl Script eine neue Certification Authority erstellt.</p>

<p><code class="prettyprint">
/System/Library/OpenSSL/misc/CA.pl -newca</p>

<p>CA certificate filename (or enter to create)</p>

<p>Making CA certificate ...
Generating a 1024 bit RSA private key
.........++++++
.................++++++
writing new private key to './demoCA/private/cakey.pem'
Enter PEM pass phrase:</p>

<h2>Verifying - Enter PEM pass phrase:</h2>

<p>You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
</code></p>

<p>Die folgenden Fragen sollte man so beantworten, dass die Herkunft der CA f&#252;r Besucher des verschl&#252;sselten Servers erkennbar ist. Bei mir etwa so:</p>

<p><code class="prettyprint">
Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:NRW
Locality Name (eg, city) []:Essen
Organization Name (eg, company) [Internet Widgits Pty Ltd]:.
Organizational Unit Name (eg, section) []:.
Common Name (eg, YOUR name) []:Dennis TestCA
Email Address []:dennis@instant-thinking.de
</code></p>

<p>Jetzt existiert in dem <code>certs</code> Verzeichnis eine neue CA in einem eigenen Ordner:</p>

<p><code class="prettyprint">
certs/
<code>-- demoCA
    |-- cacert.pem
    |-- certs
    |-- crl
    |-- index.txt
    |-- newcerts
    |-- private
    |</code>-- cakey.pem
    `-- serial
</code></p>

<p><strong>Erstellung eines Private Key f&#252;r den Web Server</strong></p>

<p>Mit dem folgenden openssl Befehl wird nun ein private key f&#252;r den Webserver erstellt.</p>

<p><code class="prettyprint">
openssl genrsa -des3 -out webserver.key 1024
</code></p>

<p>Bei der darauf folgenden Passwortabfrage, sollte man eines w&#228;hlen, das von dem Passwort der CA abweicht.</p>

<p><code class="prettyprint">
Generating RSA private key, 1024 bit long modulus
...................++++++
................++++++
e is 65537 (0x10001)
Enter pass phrase for webserver.key:
Verifying - Enter pass phrase for webserver.key:
</code></p>

<p>Aus praktischen Gr&#252;nden wird jetzt noch ein Schl&#252;ssel ohne die Passphrase erstellt:</p>

<p><code class="prettyprint">
openssl rsa -in webserver.key -out webserver.nopass.key
Enter pass phrase for webserver.key:
writing RSA key
</code></p>

<p>Der Schl&#252;ssel mit Passphrase ist jetzt <code>webserver.key</code> und der ohne ist <code>webserver.nopass.key</code>.</p>

<p>Diese &#220;bung ist n&#246;tig, weil ein Webserver der mit einem Zertifikat mit Passphrase verschl&#252;sselt, diese Passphrase bei jedem Neustart des Servers erwartet. Das w&#252;rde f&#252;r einen normalen Mac bedeuten, dass der Start des Systems h&#228;ngt, da der Apache auf die Eingabe der Passphrase wartet. Man kann den Mac zwar im Verbose-Mode booten und die Eingabe vornehmen, komfortabel ist das aber nicht.</p>

<p><strong>Erstellung eines Certificate Request f&#252;r den gerade erstellten Private Key des Webservers</strong></p>

<p>F&#252;r den gerade erstellten Schl&#252;ssel wird nun eine Zertifikatsanforderung<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_1_1917" id="identifier_1_1917" class="footnote-link footnote-identifier-link" title="g&uuml;ltig f&uuml;r 10 Jahre">2</a></sup> erstellt. Diese wird dann im n&#228;chsten Schritt mit dem Schl&#252;ssel der CA unterschrieben.</p>

<p><code class="prettyprint">
openssl req -config /System/Library/OpenSSL/openssl.cnf -new -key webserver.key -out newreq.pem -days 3650
</code></p>

<p>Bei der folgenden Abfrage ist es wichtig darauf zu achten, dass bei &#8220;Common Name (eg, YOUR name)&#8221; der wirkliche Name des Servers eingetragen wird, unter dem er auch sp&#228;ter erreichbar sein soll. Bei einem Test auf dem lokalen System w&#228;re das z.B. &#8220;localhost&#8221; oder &#8220;127.0.0.1&#8243;. Bei einem Test in einem lokalen Netz ohne Namensaufl&#246;sung z.B. &#8220;192.168.1.6&#8243; und bei einem System das unter einem DNS-Namen erreichbar ist eben dieser. Wenn hier nicht der exakt passende Name des Servers steht wird es sp&#228;ter zu Zertifikatsfehlern kommen, <a href="http://www.urbandictionary.com/define.php?term=YMMV" class="liexternal">YMMV</a>.</p>

<p>Die Extra Attribute &#8220;challenge password&#8221; und &#8220;company name&#8221; k&#246;nnen leer gelassen werden.</p>

<p><code class="prettyprint">
Enter pass phrase for webserver.key:
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,</p>

<h2>If you enter '.', the field will be left blank.</h2>

<p>Country Name (2 letter code) [AU]:DE
State or Province Name (full name) [Some-State]:NRW
Locality Name (eg, city) []:Essen
Organization Name (eg, company) [Internet Widgits Pty Ltd]:.
Organizational Unit Name (eg, section) []:.
Common Name (eg, YOUR name) []:meineadresse.de
Email Address []:dennis@instant-thinking.de</p>

<p>Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:
</code></p>

<p>Damit wurde die Zertifikatsanforderung <code>newreq.pem</code> erstellt.</p>

<p><strong>Unterschreiben des Certificate Request mit dem Key der CA</strong></p>

<p>Mit dem folgenden Befehl wird das Unterschreiben der Zertifikatsanforderung angestossen:</p>

<p><code class="prettyprint">
/System/Library/OpenSSL/misc/CA.pl -signreq
</code></p>

<p><code class="prettyprint">
Using configuration from /opt/local/etc/openssl/openssl.cnf
Enter pass phrase for ./demoCA/private/cakey.pem:
Check that the request matches the signature
Signature ok
Certificate Details:
        Serial Number:
            b4:cd:0a:12:5b:00:5b:2b
        Validity
            Not Before: Aug 25 21:19:04 2009 GMT
            Not After : Aug 25 21:19:04 2010 GMT
        Subject:
            countryName               = DE
            stateOrProvinceName       = NRW
            localityName              = Essen
            commonName                = meineadresse.de
            emailAddress              = dennis@instant-thinking.de
        X509v3 extensions:
            X509v3 Basic Constraints: 
                CA:FALSE
            Netscape Comment: 
                OpenSSL Generated Certificate
            X509v3 Subject Key Identifier: 
                08:F3:5C:D2:0D:96:3E:2F:53:DA:EF:9D:34:73:B2:16:77:83:94:E0
            X509v3 Authority Key Identifier: 
                keyid:01:54:22:97:39:C2:41:2D:17:48:41:6D:BB:A1:C7:F0:B3:88:B4:4F</p>

<p>Certificate is to be certified until Aug 25 21:19:04 2010 GMT (365 days)
Sign the certificate? [y/n]:y</p>

<p>1 out of 1 certificate requests certified, commit? [y/n]y
Write out database with 1 new entries
Data Base Updated
Signed certificate is in newcert.pem
</code></p>

<p>Damit ist das Zertifikat <code>newcert.pem</code> erstellt. Jetzt ist es eine gute Idee ein weiteres Verzeichnis mit dem Namen des Servers zu erstellen und alle f&#252;r ihn erstellten Dateien hinein zu bewegen.</p>

<p><code class="prettyprint">
mkdir meineadresse.de
mv webserver.key webserver.nopass.key newreq.pem newcert.pem meineadresse.de/
</code></p>

<p>Das ganze schaut dann etwa so aus:</p>

<p><code class="prettyprint">
certs/
|-- demoCA
|   |-- cacert.pem
|   |-- certs
|   |-- crl
|   |-- index.txt
|   |-- index.txt.attr
|   |-- index.txt.old
|   |-- newcerts
|   |   <code>-- B4CD0A125B005B2B.pem
|   |-- private
|   |</code>-- cakey.pem
|   |-- serial
|   <code>-- serial.old</code>-- meineadresse.de
    |-- newcert.pem
    |-- newreq.pem
    |-- webserver.key
    `-- webserver.nopass.key
</code></p>

<p><strong>Anpassen der Apache-Configs</strong></p>

<p>Als letztes wird der Apache-Server f&#252;r verschl&#252;sselte Verbindungen konfiguriert. Dazu wird zun&#228;chst in der Datei <code>/etc/apache2/httpd.conf</code> die Datei <code>httpd-ssl.conf</code> inkludiert in der dann die restlichen Eintr&#228;ge vorgenommen werden. Die passende Zeile ist bereits vorhanden<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_2_1917" id="identifier_2_1917" class="footnote-link footnote-identifier-link" title="in meiner Installation war es die Zeile 473">3</a></sup> und muss nur auskommentiert<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_3_1917" id="identifier_3_1917" class="footnote-link footnote-identifier-link" title="Also die Raute &ldquo;#&rdquo; vor der Zeile l&ouml;schen">4</a></sup> werden.</p>

<p>Das Ergebnis sollte so aussehen:</p>

<p><code class="prettyprint"></p>

<h1>Secure (SSL/TLS) connections</h1>

<p>Include /private/etc/apache2/extra/httpd-ssl.conf
</code></p>

<p>In der Datei <code>/etc/apache2/extra/httpd-ssl.conf</code> m&#252;ssen nun die folgenden Variablen auf die vorhin erstellten Dateien inklusive dem vollen Pfad zeigen:</p>

<p><code class="prettyprint">
SSLCertificateFile "/Users/dennis/Documents/certs/meineadresse.de/newcert.pem"
SSLCertificateKeyFile "/Users/dennis/Documents/certs/meineadresse.de/meineadresse.de.nopass.key"
SSLCACertificateFile "/Users/dennis/Documents/certs/demoCA/cacert.pem"
SSLCARevocationPath "/Users/dennis/Documents/certs/demoCA/crl"
</code></p>

<p>Man kann hier auch das <code>DocumentRoot</code> auf einen anderen Pfad als die nicht verschl&#252;sselten Inhalte setzen wenn man das m&#246;chte. Das kann dann z.B. so ausschauen:</p>

<p><code class="prettyprint">
DocumentRoot "/Users/dennis/Sites/SSL"
</code></p>

<p>Jetzt kann man den Apache mit <code>sudo apachectl graceful</code> neu starten und sollte dann unter https://localhost<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_4_1917" id="identifier_4_1917" class="footnote-link footnote-identifier-link" title="bzw. der jeweiligen Adresse">5</a></sup> eine verschl&#252;sselte HTTP-Verbindung herstellen k&#246;nnen.</p>

<p>Usernamen und Passw&#246;rter die oben noch im Klartext zu lesen waren sehen f&#252;r potentielle Mitlauscher nun nur noch so aus:</p>

<p><a href="http://instant-thinking.de/wp-content/uploads/2009/08/wireshark_roundcube_ssl.jpg" rel="lightbox" class="liimagelink"><img src="http://instant-thinking.de/wp-content/uploads/2009/08/wireshark_roundcube_ssl.jpg" alt="wireshark_roundcube_ssl" title="wireshark_roundcube_ssl" width="400" class="center" /></a></p>

<p>Und das ist eine gute Sache.</p>

<p>Wenn man ein solches System produktiv einsetzen m&#246;chte, sollte man zu allermindestens die CA auf einen anderen Computer auslagern. Noch besser<sup><a href="http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/#footnote_5_1917" id="identifier_5_1917" class="footnote-link footnote-identifier-link" title="aber auch mit Kosten verbunden">6</a></sup> w&#228;re es, sich sein Zertifikat von einer richtigen CA unterschreiben zu lassen. Dann m&#252;sste man auch nicht mehr mit der unvermeidlichen Fehlermeldung leben, dass das Zertifikat von einer unbekannten CA ausgestellt wurde&#8230;</p>

<p><a href="http://instant-thinking.de/wp-content/uploads/2009/08/ssl-cert-error.jpg" rel="lightbox" class="liimagelink"><img src="http://instant-thinking.de/wp-content/uploads/2009/08/ssl-cert-error.jpg" alt="ssl-cert-error" title="ssl-cert-error" width="400" class="center" /></a></p>

<p>Nat&#252;rlich kann man f&#252;r seinen Browser eine passende Ausnahme konfigurieren, f&#252;r einen Produktivserver ist so etwas aber nicht hinnehmbar.</p>

<p>(via: <a href="http://developer.apple.com/internet/serverside/modssl.html" class="liexternal">Apple</a> &amp; <a href="http://www.macosxhints.com/article.php?story=20080628074917113" class="liexternal">macosxhints.com</a>)</p>
<ol class="footnotes"><li id="footnote_0_1917" class="footnote">Und nein, mein Passwort ist &#252;blicherweise nicht &#8220;test123&#8243;</li><li id="footnote_1_1917" class="footnote">g&#252;ltig f&#252;r 10 Jahre</li><li id="footnote_2_1917" class="footnote">in meiner Installation war es die Zeile 473</li><li id="footnote_3_1917" class="footnote">Also die Raute &#8220;#&#8221; vor der Zeile l&#246;schen</li><li id="footnote_4_1917" class="footnote">bzw. der jeweiligen Adresse</li><li id="footnote_5_1917" class="footnote">aber auch mit Kosten verbunden</li></ol>]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2009/08/26/https-fuer-einen-mac-os-x-webserver/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Das iPhone, IMAP und ein selbst signiertes SSL-Zertifikat</title>
		<link>http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/</link>
		<comments>http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 12:06:05 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[netzwerk]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/?p=1736</guid>
		<description><![CDATA[Diese Kombination, liebe Freunde der sicheren Komunikat [...]]]></description>
			<content:encoded><![CDATA[<p>Diese Kombination, liebe Freunde der sicheren Komunikation <em>to go</em>, kann unter Umst&#228;nden die W&#228;nde hoch treiben.</p>

<p>Wenn man n&#228;mlich auf dem iPhone einen <a href="http://de.wikipedia.org/wiki/Internet_Message_Access_Protocol" rel="nofollow" class="liwikipedia">IMAP</a>-Account einrichtet dessen sichere Kommunikation auf einem <a href="http://en.wikipedia.org/wiki/Self-signed_certificate" rel="nofollow" class="liwikipedia">selbst signierten Zertifikat</a> beruht passiert folgendes:</p>

<p>Das iPhone &#246;ffnet eine sichere Verbindung<sup><a href="http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/#footnote_0_1736" id="identifier_0_1736" class="footnote-link footnote-identifier-link" title="sehr gut">1</a></sup> zu dem IMAP-Server auf Port 993<sup><a href="http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/#footnote_1_1736" id="identifier_1_1736" class="footnote-link footnote-identifier-link" title="nicht so gut wie wir sp&auml;ter sehen werden">2</a></sup>. Dann stellt es fest, dass das Zertifikat nicht bekannt ist und fragt nach, ob man wirklich mit diesem Server reden will.</p>

<p>Das will man nat&#252;rlich und das iPhone will wieder &#252;ber eine sichere Verbindung mit dem IMAP-Server reden. Aber <em>dieses</em> mal auf Port 143&#8230;</p>

<p>Das, werte verbliebene Leserschaft die immer noch diese exotischen Begriffe in sich aufsaugt, ist ein recht gro&#223;es und schwer zu erkennendes Problem wenn man nur Port 993 auf dem IMAP-Server ge&#246;ffnet hat.</p>

<p>Nach der Entdeckung des Problems ist die L&#246;sung dann sehr einfach:</p>

<p>F&#252;r die Ersteinrichtung &#246;ffnet man den Port 143<sup><a href="http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/#footnote_2_1736" id="identifier_2_1736" class="footnote-link footnote-identifier-link" title="nat&uuml;rlich mit aktiviertem TLS">3</a></sup> einfach und im Anschluss daran kann man auch, oh <em>Wunder</em>, in den erweiterten Einstellungen auf dem iPhone den Port 993 als zu verwendenden IMAP-Port konfigurieren.</p>

<p><img src="http://instant-thinking.de/wp-content/uploads/2009/04/imap_port_993.jpg" alt="IMAP Port 993" title="IMAP Port 993" width="347" height="272" class="center" /></p>

<p>Warum es diese Funktionalit&#228;t nicht auch schon bei der Ersteinrichtung &#252;ber einen &#8220;Erweitert&#8221;-Button gibt ist mir <em>utterly unexplainable</em>, aber jetzt l&#228;ufts halt.</p>

<p>(L&#246;sung via: <a href="http://www.wireshark.org/" class="liexternal">Wireshark</a> und <a href="http://artur.hefczyc.net/node/6 " class="liexternal">Artur Hefczyc</a>)</p>
<ol class="footnotes"><li id="footnote_0_1736" class="footnote">sehr gut</li><li id="footnote_1_1736" class="footnote">nicht so gut wie wir sp&#228;ter sehen werden</li><li id="footnote_2_1736" class="footnote">nat&#252;rlich mit aktiviertem TLS</li></ol>]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2009/04/29/das-iphone-imap-und-ein-selbst-signiertes-ssl-zertifikat/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>QuickLinks vom 29. Januar bis zum 3. Februar</title>
		<link>http://instant-thinking.de/2009/02/03/quicklinks-vom-29-januar-bis-zum-3-februar/</link>
		<comments>http://instant-thinking.de/2009/02/03/quicklinks-vom-29-januar-bis-zum-3-februar/#comments</comments>
		<pubDate>Tue, 03 Feb 2009 14:00:08 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[exif]]></category>
		<category><![CDATA[geotag]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[iphoto]]></category>
		<category><![CDATA[latex]]></category>
		<category><![CDATA[lineal]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[online]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[photo]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[podcast]]></category>
		<category><![CDATA[ruler]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[webdesign]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/?p=1658</guid>
		<description><![CDATA[These are my links for 29. Januar through 3. Februar:

[...]]]></description>
			<content:encoded><![CDATA[<p>Meine <a href="http://delicious.com/der_dennis" class="lidelicious">delicious.com-Links</a> vom 29. Januar bis zum 3. Februar:</p>

<ul>
<li><a href="http://www.pixelatedsoftware.com/products/pixelstick/index.html" class="liexternal">PixelStick</a> &#8211; is a tool for measuring distances and angles on the screen.</li>
<li><a href="https://www.backblaze.com/" class="liexternal">Backblaze</a> &#8211; Unlimited encrypted online-backup for Mac OS X and Windows. 5 $ per Computer, can use your own private key. Interesting&#8230;</li>
<li><a href="http://www.sno.phy.queensu.ca/~phil/exiftool/" class="liexternal">ExifTool</a> &#8211; is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in image, audio and video files.</li>
<li><a href="http://www.smashingmagazine.com/2009/01/26/10-steps-to-protect-the-admin-area-in-wordpress/" class="liexternal">10 Steps To Protect The Admin Area In WordPress</a> &#8211; Good tips, easy to apply&#8230;</li>
<li><a href="http://digitalesgrundrauschen.de/2009/01/digitales-grundrauschen-12-latex-auf-dem-mac/" class="liexternal">LaTeX auf dem Mac &#8211; Digitales Grundrauschen #12</a> &#8211; 2 Stunden Podcast &uuml;ber LaTeX, Seite mit tollen Links zum Thema&#8230;</li>

</ul>
]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2009/02/03/quicklinks-vom-29-januar-bis-zum-3-februar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuickLinks vom 28. M&#228;rz bis zum 1. April</title>
		<link>http://instant-thinking.de/2008/04/02/quicklinks-vom-28-mrz-bis-zum-1-april/</link>
		<comments>http://instant-thinking.de/2008/04/02/quicklinks-vom-28-mrz-bis-zum-1-april/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 00:31:16 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[bookmarklet]]></category>
		<category><![CDATA[cheatsheet]]></category>
		<category><![CDATA[cluster]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dashboard]]></category>
		<category><![CDATA[farm]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flickr]]></category>
		<category><![CDATA[geotag]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[image]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[lightbox]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[photos]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[sms]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[statistic]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[visualization]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web2.0]]></category>
		<category><![CDATA[widget]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/2008/04/02/quicklinks-vom-28-mrz-bis-zum-1-april/</guid>
		<description><![CDATA[Meine del.icio.us-Links vom 28. M&#228;rz bis zum 1. Ap [...]]]></description>
			<content:encoded><![CDATA[<p>Meine <a href="http://del.icio.us/der_dennis" class="lidelicious">del.icio.us-Links</a> vom 28. M&auml;rz bis zum 1. April:</p>

<ul>
<li><a href="http://code.google.com/p/scalr/" class="liexternal">scalr</a> &#8211; is a fully redundant, self-curing and self-scaling hosting environment utilizing Amazon&#8217;s EC2</li>
<li><a href="http://www.uninformation.org/weblog/90" class="liexternal">Sicher twittern mit Twitterific</a> &#8211; Wie man Twitterific auf https umstellt.</li>
<li><a href="http://labs.sumaato.net/tools/flickr_geocode_bookmarklet/" class="liexternal">Localize Bookmarklet</a> &#8211; a slim bookmarklet that enables mapping, geocoding and geotagging directly in your Flickr photo page. It works with all common browsers without the need for any extension.</li>
<li><a href="http://borkweb.com/story/apache-rewrite-cheatsheet" class="liexternal">Borkweb Apache Rewrite Cheatsheet</a> &#8211; </li>
<li><a href="http://www.apple.com/downloads/dashboard/networking_security/hostswidget.html" class="liexternal">HostsWidget</a> &#8211; Allows you to manipulate your /etc/hosts file quickly and easily.</li>
<li><a href="http://wordpress.org/extend/plugins/wordpress-flickr-manager/" class="liwp">WordPress Flickr Manager</a> &#8211; Handles uploading, modifying images on Flickr, and insertion into posts.</li>
<li><a href="http://piwik.org/blog/piwik-open-source-web-analytics/" class="liexternal">Piwik</a> &#8211; aims to be an open source alternative to Google Analytics. It gives interesting reports on your website visitors, your popular pages, the search engines keywords they used, the language they speak&#8230;</li>
    <li><a href="http://www.osxbook.com/software/sms/smsrotated/" class="liexternal">SMSRotateD</a> &#8211; is a demonstration application that triggers screen rotation based on the orientation data it retrieves from the Sudden Motion Sensor (SMS) built into newer Apple notebook models</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2008/04/02/quicklinks-vom-28-mrz-bis-zum-1-april/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QuickLinks vom 10. M&#228;rz bis zum 12. M&#228;rz</title>
		<link>http://instant-thinking.de/2008/03/13/quicklinks-vom-10-mrz-bis-zum-12-mrz/</link>
		<comments>http://instant-thinking.de/2008/03/13/quicklinks-vom-10-mrz-bis-zum-12-mrz/#comments</comments>
		<pubDate>Thu, 13 Mar 2008 00:30:51 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[deliciouslibrary]]></category>
		<category><![CDATA[deutsch]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[fom]]></category>
		<category><![CDATA[frontrow]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[fuse]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gtd]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[icmp]]></category>
		<category><![CDATA[iphoto]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[lexikon]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[movies]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[revisioncontrol]]></category>
		<category><![CDATA[ror]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[schreiben]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[shareware]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[thesaurus]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[wep]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wlan]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[wpa]]></category>
		<category><![CDATA[write]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/2008/03/13/quicklinks-vom-10-mrz-bis-zum-12-mrz/</guid>
		<description><![CDATA[Meine del.icio.us-Links vom 10. M&#228;rz bis zum 12. M [...]]]></description>
			<content:encoded><![CDATA[<p>Meine <a href="http://del.icio.us/der_dennis" class="lidelicious">del.icio.us-Links</a> vom 10. M&auml;rz bis zum 12. M&auml;rz:</p>

<ul>
<li><a href="http://drunkcheese.com/Websted/Purre.html" class="liexternal">Purre</a> &#8211; Play iPhoto movies in FrontRow</li>
<li><a href="http://web.mac.com/tekl/deutsch/W%C3%B6rterb%C3%BCcher.html" class="liexternal">W&#246;rterb&#252;cher</a> &#8211; Kostenloser deutscher Thesaurus und ein Deutsch-Englisch W&#246;rterb&#252;ch f&#252;r das Mac OS Lexikon</li>
<li><a href="http://www.onlamp.com/pub/a/onlamp/2008/03/04/step-by-step-configuring-ssl-under-apache.html" class="liexternal">Step by Step: Configuring SSL Under Apache</a> &#8211; </li>
<li><a href="http://developer.apple.com/tools/developonrailsleopard.html" class="liexternal">Developing Rails Applications on Mac OS X Leopard</a> &#8211; </li>
<li><a href="http://www.magnetk.com/expandrive" class="liexternal">ExpanDrive</a> &#8211; Seems like an extended Version of sshFS&#8230; Shareware, 29$.</li>
<li><a href="http://freshmeat.net/projects/sing/" class="liexternal">SING</a> &#8211; stands for Send ICMP Nasty Garbage. It is a tool that sends ICMP packets fully customized from command line.</li>
<li><a href="http://tunnelblick.net/" class="liexternal">Tunnelblick</a> &#8211; is a simple graphical user interface for the great VPN software OpenVPN 2.0 and higher</li>
<li><a href="http://wicd.sourceforge.net/" class="liexternal">wicd</a> &#8211; is an open source wired and wireless network manager for Linux which aims to provide a simple interface to connect to networks with a wide variety of settings</li>
<li><a href="http://www.getlibra.com/" class="liexternal">Libra</a> &#8211; Freeware Library Software for Windows</li>
<li><a href="http://changelog.complete.org/posts/698-If-Version-Control-Systems-were-Airlines.html" class="liexternal">If Version Control Systems were Airlines</a> &#8211; </li>
<li><a href="http://www.jinx.de/SmartSleep.html" class="liexternal">SmartSleep</a> &#8211; is a preference pane that dynamically sets the sleep state of your machine.</li>
<li><a href="http://github.com/Caged/gitnub/wikis/home" class="liexternal">gitnub</a> &#8211; Git kicking it OS X style. Still many exciting nibbles to be implemented!</li>
<li><a href="http://literatureandlatte.com/scrivener.html" class="liexternal">Scrivener</a> &#8211; is a word processor and project management tool created specifically for writers of long texts such as novels and research papers. Shareware, 39,95 $</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2008/03/13/quicklinks-vom-10-mrz-bis-zum-12-mrz/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mail-Attachments zu Fu&#223; &#8211; base64 encode und decode</title>
		<link>http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/</link>
		<comments>http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 19:28:54 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[base64]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mail]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/</guid>
		<description><![CDATA[Ich bin heute Abend echt in der Stimmung f&#252;r tolle &#220;b [...]]]></description>
			<content:encoded><![CDATA[<p>Ich bin heute Abend echt in der Stimmung f&#252;r tolle &#220;berschriften&#8230;</p>

<p>Vor kurzer Zeit hatte meine Schwester mir eine Mail geschickt in der eine <a href="http://www.fileinfo.net/extension/msg" class="liexternal">msg-Datei</a> als Anhang enthalten war. Offenbar kommt sowas manchmal vor wenn Outlook nicht so richtig mit dem Senden der Mail klar kam.</p>

<p>Wie auch immer, da lag diese Mail vor mir und ich habe die msg-Datei dann mit einem Editor ge&#246;ffnet und nach dem Anhang Ausschau gehalten. Das schaut ungef&#228;hr so aus<sup><a href="http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/#footnote_0_1087" id="identifier_0_1087" class="footnote-link footnote-identifier-link" title="Ich habe die Original-Mail mittlerweile gel&ouml;scht, daher ist das hier nur ein Beispiel">1</a></sup>:</p>

<p><code class="prettyprint">Content-Transfer-Encoding: base64</p>

<p>SGFsbG8gQmVybmQgT3N0ZW5kb3JmZiEKCkhlcnpsaWNoIHdpbG xrb21tZW4gYmVpIFNoYXJld2Fy
ZSFkZSAtIHVuZCB2aWVsZW4gRGFuayBmdWVyIElocmUgQW5tZW xkdW5nIQoKTWl0IGRlbiBmb2xn
ZW5kZW4gRGF0ZW4gaGFiZW4gU2llIFp1Z2FuZyB6dXIgU2hhcm V3YXJl</code></p>

<p>&#8230;</p>

<p>Das war dann allerdings noch deutlich l&#228;nger. Den ganzen Kram habe ich dann in eine neue Textdatei kopiert und bin der dann mit OpenSSL zu Leibe ger&#252;ckt:</p>

<p><code class="prettyprint">openssl base64 -d -in infile -out outfile
</code>
Das macht aus dem kodierten <code>infile</code> die fertige doc-Datei<sup><a href="http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/#footnote_1_1087" id="identifier_1_1087" class="footnote-link footnote-identifier-link" title="oder was auch immer da angehangen wurde, hier eben eine Word-Datei">2</a></sup></p>

<p>Um den umgekehrten Weg zu gehen, also eine Datei in base64 zu kodieren benutzt man:</p>

<p><code class="prettyprint">openssl base64 -e -in infile -out outfile
</code>
Aber &#252;blicherweise machen das Mailprogramme heutzutage automatisch&#8230; Ist halt nur gut zu wissen falls mal was schief geht.</p>

<p>(via: <a href="http://face.centosprime.com/macosxw/?p=79" class="liexternal">Mac OS X Things</a>)</p>

<p><strong>Update:</strong></p>

<p>Ich habe nach <a href="http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/#comment-2399" class="liinternal">R&#252;digers Kommentar</a> bei dem zweiten <code>openssl</code> Aufruf <code>-e</code> hinzugef&#252;gt um Verwirrungen auszuschliessen. N&#246;tig ist es nicht, macht die Sache aber klarer&#8230;</p>
<ol class="footnotes"><li id="footnote_0_1087" class="footnote">Ich habe die Original-Mail mittlerweile gel&#246;scht, daher ist das hier nur ein Beispiel</li><li id="footnote_1_1087" class="footnote">oder was auch immer da angehangen wurde, hier eben eine Word-Datei</li></ol>]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2008/03/04/mail-attachments-zu-fuss-base64-encode-und-decode/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Zero Sign on with Client Side Certificates</title>
		<link>http://instant-thinking.de/2008/03/04/zero-sign-on-with-client-side-certificates/</link>
		<comments>http://instant-thinking.de/2008/03/04/zero-sign-on-with-client-side-certificates/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 19:09:52 +0000</pubDate>
		<dc:creator>der Dennis</dc:creator>
				<category><![CDATA[]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[gpg]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[ssl]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://instant-thinking.de/2008/03/04/zero-sign-on-with-client-side-certificates/</guid>
		<description><![CDATA[Mann, das ist eine echt gute &#220;berschrift...

H&#246;rt  [...]]]></description>
			<content:encoded><![CDATA[<p>Mann, das ist eine echt gute &#220;berschrift&#8230;</p>

<p>H&#246;rt sich sehr Web 2.0 m&#228;&#223;ig an, ist aber in der Tat in den 90er Jahren des letzten Jahrhunderts in Browser<sup><a href="http://instant-thinking.de/2008/03/04/zero-sign-on-with-client-side-certificates/#footnote_0_1086" id="identifier_0_1086" class="footnote-link footnote-identifier-link" title="Netscape, IE 3.0">1</a></sup> eingebaut worden und findet sich auch heute z.B. im Firefox 2.0 und Apples Safari. Ob der IE auch noch diese M&#246;glichkeit in sich tr&#228;gt weiss ich nicht und es ist mir auch egal.</p>

<p><a href="http://drnicwilliams.com/2008/02/22/zero-sign-on-with-client-certificates/" class="liexternal">Der Post von Dr. Nic</a> erkl&#228;rt das alles sehr sch&#246;n und man fragt sich ernsthaft warum wir uns im Jahr 2008 immer noch mit der User/Password Kombination rumschlagen wenn es so bequeme M&#246;glichkeiten gibt. Jetzt m&#252;sste man das nur noch mit GPG kombinieren k&#246;nnen&#8230;</p>

<p><em>Client Side Certificates FTW!</em></p>
<ol class="footnotes"><li id="footnote_0_1086" class="footnote">Netscape, IE 3.0</li></ol>]]></content:encoded>
			<wfw:commentRss>http://instant-thinking.de/2008/03/04/zero-sign-on-with-client-side-certificates/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
