SKS Keyserver (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 45: Zeile 45:
<pre>
<pre>
sudo -s
sudo -s
cat >/etc/sks/sksconf <<'EOF'
cat >/etc/sks/sksconf <<'EOF'
pagesize: 16
pagesize: 16
ptree_pagesize: 16
ptree_pagesize: 16
EOF
EOF
exit
exit
</pre>
</pre>

Version vom 26. Dezember 2016, 18:10 Uhr

Noch in Bearbeitung


Installation

Paket installieren:

sudo apt-get install sks

Danach SKS-Dämon stoppen:

sudo service sks stop

Datenbank als Benutzer debian-sks initialisieren:

su debian-sks -c '/usr/sbin/sks build'
sudo -s
mv /etc/sks/mailsync /etc/sks/mailsync_bak
echo '# Empty - Do not communicate with other keyservers.' >/etc/sks/mailsync
mv /etc/sks/membership /etc/sks/membership_bak
echo '# Empty - Do not communicate with other keyservers.' >/etc/sks/membership
exit


Service beim Hochfahren automatisch starten - dazu /etc/default/sks editieren

sudo vi /etc/default/sks

und folgende Zeile anpassen:

initstart=yes
sudo cp /etc/sks/sksconf /etc/sks/sksconf_bak
sudo -s

cat >/etc/sks/sksconf <<'EOF'
pagesize: 16
ptree_pagesize: 16
EOF

exit

Links

https://njh.eu/keyserver

http://www.bauer-power.net/2010/05/how-to-setup-free-pgp-key-server-in.html#.WGEXB58xlyU

http://keyserver.mattrude.com/guides/building-server/

https://roll.urown.net/server/pgp-keyserver.html


Zurück zu Ubuntu