<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.noname-ev.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Keyserver</id>
	<title>Keyserver - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.noname-ev.de/wiki/index.php?action=history&amp;feed=atom&amp;title=Keyserver"/>
	<link rel="alternate" type="text/html" href="https://www.noname-ev.de/wiki/index.php?title=Keyserver&amp;action=history"/>
	<updated>2026-05-14T10:12:59Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://www.noname-ev.de/wiki/index.php?title=Keyserver&amp;diff=7204&amp;oldid=prev</id>
		<title>SECuRE: Created page with &#039;Originally found here and copied to ensure it doesn’t vanish: http://www.rainydayz.org/node/10  I&#039;ve been trying to install a PGP keyserver for some time, then found sks. It&#039;s …&#039;</title>
		<link rel="alternate" type="text/html" href="https://www.noname-ev.de/wiki/index.php?title=Keyserver&amp;diff=7204&amp;oldid=prev"/>
		<updated>2010-02-27T19:40:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;Originally found here and copied to ensure it doesn’t vanish: http://www.rainydayz.org/node/10  I&amp;#039;ve been trying to install a PGP keyserver for some time, then found sks. It&amp;#039;s …&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Originally found here and copied to ensure it doesn’t vanish:&lt;br /&gt;
http://www.rainydayz.org/node/10&lt;br /&gt;
&lt;br /&gt;
I&amp;#039;ve been trying to install a PGP keyserver for some time, then found sks.&lt;br /&gt;
It&amp;#039;s in the Ubuntu repositories, so actually installing it is a breeze :&lt;br /&gt;
&lt;br /&gt;
 # sudo apt-get install sks&lt;br /&gt;
&lt;br /&gt;
However, configuring it is a little more complicated, here are the steps I took :&lt;br /&gt;
&lt;br /&gt;
* Open a terminal window&lt;br /&gt;
* Create the database to store the keys&lt;br /&gt;
 # sudo sks build&lt;br /&gt;
&lt;br /&gt;
* Start sks, then close it, to ensure that all files it requires are created correctly&lt;br /&gt;
 # sudo sks db ^C&lt;br /&gt;
&lt;br /&gt;
* Set database permissions on the database used by sks to store keys&lt;br /&gt;
 # sudo chown -Rc debian-sks:debian-sks /var/lib/sks/DB&lt;br /&gt;
&lt;br /&gt;
* To start the server automatically, set initstart=yes in /etc/default/sks&lt;br /&gt;
* Edit /etc/init.d/sks to automatically create the/var/run/sks directory on startup. At (approx) line 71 (after the check for /etc/default/sks &amp;amp; before &amp;#039;echo -n &amp;quot;sksdb..&amp;quot;&amp;#039;) add&lt;br /&gt;
 mkdir -p `dirname &amp;quot;$SKSDBPID&amp;quot;`&lt;br /&gt;
 chown debian-sks `dirname &amp;quot;$SKSDBPID&amp;quot;`&lt;br /&gt;
* The log archive script which is run daily from cron assumes that sks is using db4.1. Under Ubuntu the database used is db4.6. In /etc/cron.daily/sks change db4.1_archive to db4.6_archive.&lt;br /&gt;
&lt;br /&gt;
The keyserver can be started&lt;br /&gt;
 # sudo /etc/init.d/sks start&lt;br /&gt;
&lt;br /&gt;
It listens on port 11371, and can be used with the encryption tools provided by Ubuntu, Thunderbird &amp;amp; Evolution&lt;br /&gt;
&lt;br /&gt;
Now, to configure the web-interface, I had to find two files which weren&amp;#039;t included in the distribution.&lt;br /&gt;
These are :&lt;br /&gt;
* index.html : main keyserver web-page&lt;br /&gt;
* keys.jpg : image displayed on the keyserver web-page&lt;br /&gt;
&lt;br /&gt;
You can download an archive containing these files from here to your machine. To install the files :&lt;br /&gt;
* Unzip the archive&lt;br /&gt;
 # tar cvjf sks_www.tar.bz2&lt;br /&gt;
&lt;br /&gt;
* Edit index.html and change the three references to your.site.name (currently at lines 20, 36 &amp;amp; 62) to the url of your keyserver (in my case keyserver.rainydayz.org)&lt;br /&gt;
* Make a directory for the files where the keyserver will look for them&lt;br /&gt;
 # sudo mkdir /var/lib/sks/www&lt;br /&gt;
* Copy the files&lt;br /&gt;
 # sudo cp index.html /var/lib/sks/www/&lt;br /&gt;
 # sudo cp keys.jpg /var/lib/sks/www/&lt;br /&gt;
&lt;br /&gt;
* Change permissions on the files&lt;br /&gt;
&lt;br /&gt;
 # sudo chown -R debian-sks:debian-sks /var/lib/sks/www&lt;br /&gt;
&lt;br /&gt;
You should now be able to browse to your server on port 11371 and search for, upload &amp;amp; download keys. As example, my keyserver can be found at http://keyserver.rainydayz.org:11371&lt;/div&gt;</summary>
		<author><name>SECuRE</name></author>
	</entry>
</feed>