<?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>René Samselnig&#039;s Weblog &#187; security</title>
	<atom:link href="http://sdm-net.org/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://sdm-net.org</link>
	<description>Personal Entertainment and Knowledge Management</description>
	<lastBuildDate>Fri, 18 May 2012 10:09:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Configuring JBoss with SSL</title>
		<link>http://sdm-net.org/2008/11/configuring-jboss-with-ssl/</link>
		<comments>http://sdm-net.org/2008/11/configuring-jboss-with-ssl/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 09:13:58 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[jboss]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://sdm-net.org/?p=225</guid>
		<description><![CDATA[<p>Sometimes you need a self signed certificate to use SSL with your JBoss installation. This is a small how-to that tells you the essential steps to do that. Creating the Keystore Creating a keystore to store certificates that JBoss can use. keytool -genkey -alias $MYDOMAIN -keyalg RSA ↵ -keystore my.keystore You will be asked for [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>Sometimes you need a self signed certificate to use SSL with your JBoss installation. This is a small how-to that tells you the essential steps to do that.<span id="more-225"></span></p>

<h4>Creating the Keystore</h4>

<p>Creating a keystore to store certificates that JBoss can use.</p>

<pre><code>keytool -genkey -alias $MYDOMAIN -keyalg RSA ↵
-keystore my.keystore</code></pre>

<p>You will be asked for a password to this keystore, just set any password you like. Furthermore you will need to enter some more information, just enter whatever you like &#8211; you only need these values to be correct if you are going to sign the certificate at your Certificate Authority.</p>

<h4>Creating a Certificate Request</h4>

<p>Then we need to create a Certificate Request.</p>

<pre><code>keytool -certreq -keystore my.keystore ↵
-alias $MYDOMAIN -file myserver.csr</code></pre>

<p>Normally you would want to send this Certificate Request to your Certificate Authority to sign it. That way browsers would accept your certificate without complaining. But we only need this certificate for our local development machine, so don&#8217;t worry about a security exception. You need to accept this certificate within your browser, though.</p>

<h4>Configuring JBoss</h4>

<p>You need to change this file to enable SSL with our created certificate: <code>$JBOSS_HOME/server/default/deploy/jbossweb-tomcat50.sar/server.xml</code>. Look for the following lines and uncomment them:</p>

<pre><code>&lt;Connector port="8443" address="${jboss.bind.address}"
  maxThreads="100" strategy="ms" maxHttpHeaderSize="8192"
  emptySessionPath="true"
  scheme="https" secure="true" clientAuth="false" 
  keystoreFile="${jboss.server.home.dir}/conf/ssl/my.keystore"
  keystorePass="KEYSTORE_PASSWORD" sslProtocol = "TLS" /&gt;
</code></pre>

<p>At last we need to copy your keystore to the proper place:</p>

<pre><code>mkdir $JBOSS_HOME/server/default/conf/ssl
cp my.keystore $JBOSS_HOME/server/default/conf/ssl/
</code></pre>

<p>After a JBoss restart you can now use the https connection.</p>

<h4>See also</h4>

<p>This how-to is a short version of <a href="http://www.hackerwiki.org/index.php/SSL_mit_JBoss">SSL mit JBoss (german)</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2008/11/configuring-jboss-with-ssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The all new Cold Boot Attack on encryption keys</title>
		<link>http://sdm-net.org/2008/03/the-all-new-cold-boot-attack-on-encryption-keys/</link>
		<comments>http://sdm-net.org/2008/03/the-all-new-cold-boot-attack-on-encryption-keys/#comments</comments>
		<pubDate>Mon, 17 Mar 2008 08:53:03 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[encryption]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://sdm-net.org/2008/03/the-all-new-cold-boot-attack-on-encryption-keys/</guid>
		<description><![CDATA[<p>This password retrieval article makes me think about data-encryption&#8230; Is encryption in vain? Is hardware this insecure? Though the article is in german you can find the original Princeton paper in english at the bottom of the page. Tell me what you think about it. Update: The link at heise.de seems to be down &#8211; [...]</p>
]]></description>
			<content:encoded><![CDATA[<p>This <a href="http://www.heise.de/newsticker/Passwortklau-durch-gekuehlten-Speicher--/meldung/103908">password retrieval article</a> makes me think about data-encryption&#8230; Is encryption in vain? Is hardware this insecure? Though the article is in german you can find the original Princeton paper in english at the bottom of the page.</p>

<p>Tell me what <strong>you</strong> think about it.</p>

<p>Update: The link at heise.de seems to be down &#8211; use this link instead: <a href="http://citp.princeton.edu/memory/">Lest We Remember: Cold Boot Attacks on Encryption Keys</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2008/03/the-all-new-cold-boot-attack-on-encryption-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trusted Computing</title>
		<link>http://sdm-net.org/2007/03/trusted-computing/</link>
		<comments>http://sdm-net.org/2007/03/trusted-computing/#comments</comments>
		<pubDate>Mon, 05 Mar 2007 08:32:21 +0000</pubDate>
		<dc:creator>René Samselnig</dc:creator>
				<category><![CDATA[About]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://www.sdm-net.org/2007/03/trusted-computing/</guid>
		<description><![CDATA[<p>What is trusted computing? Why doesn&#8217;t the industry trust me? Why do they want control about my computer/pda/cellphone/other device? Why can&#8217;t I decide by myself, who is thrustworthy? There&#8217;s a movie available at LAFKONs page on Trusted Computing. Though it is quite short it makes YOU ask these questions. Go watch it.</p>
]]></description>
			<content:encoded><![CDATA[<p>What is trusted computing? Why doesn&#8217;t the industry trust me? Why do they want control about my computer/pda/cellphone/other device? Why can&#8217;t I decide by myself, who is thrustworthy? There&#8217;s a movie available at <a href="http://www.lafkon.net/tc/">LAFKONs page on Trusted Computing</a>. Though it is quite short it makes YOU ask these questions. Go watch it.</p>
]]></content:encoded>
			<wfw:commentRss>http://sdm-net.org/2007/03/trusted-computing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

