Skip to content

Instantly share code, notes, and snippets.

@funzoneq
Created April 20, 2020 10:29
Show Gist options
  • Save funzoneq/af9eddc345c4b6659db017e30c5189a7 to your computer and use it in GitHub Desktop.
Save funzoneq/af9eddc345c4b6659db017e30c5189a7 to your computer and use it in GitHub Desktop.
Setup of rpki-client on Debian 10

Setup rpki-client on Debian 10

Install some requirements:

sudo apt-get install build-essential libssl-dev rsync

Create a user:

sudo useradd -Mr _rpki-client

Download and unpack sources:

curl -O https://mirror.leaseweb.com/pub/OpenBSD/rpki-client/rpki-client-6.6p2.tar.gz
tar -zxf rpki-client-6.6p2.tar.gz
cd rpki-client-6.6p2/

Compile the software:

./configure --prefix=/usr
make
sudo make install

Create directories & set permissions:

sudo mkdir -p /var/cache/rpki-client /var/db/rpki-client
sudo chown -R _rpki-client /var/cache/rpki-client /var/db/rpki-client

Download the ARIN tal:

sudo curl -O /usr/local/etc/rpki/arin.tal https://www.arin.net/resources/manage/rpki/arin-rfc7730.tal

Run the client:

sudo rpki-client -d /var/cache/rpki-client -j /var/db/rpki-client/ -j
cat /var/db/rpki-client/json | jq
@rfc1036
Copy link

rfc1036 commented Oct 26, 2020

It is much easier to use the official package: https://blog.bofh.it/debian/id_459

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment