SKS

From Bashlinux
Jump to: navigation, search

How to setup a local SKS server

  • Install the sks server
apt-get install sks
  • Build the database
sks build
  • As the database was built by root, the proper
chown -Rc debian-sks:debian-sks /var/lib/sks/DB
  • Enable the service
sed -i -e '/initstart/s/no/yes/' /etc/default/sks
  • Start the service
service sks start
  1. Open the proper ports on firewall
ufw allow from <local_network>/24 to any port 11370
ufw allow from <local_network>/24 to any port 11371

How to submit a key to your SKS server

gpg --keyserver sks.bashlinux.com --send-keys 11AA22BB