aboutsummaryrefslogtreecommitdiff
path: root/doc/wiki-dump/APRICOT-2013-Hackathon.md
blob: c843d61d5c6edff3b5d449ae3f0cf60ccfcd0af9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

   

APRICOT 2013 RPKI CA Hackathon, Signapore

Options For Installation

FreeBSD binary packages on FreeBSD 8-STABLE

fetch http://download.rpki.net/FreeBSD_Packages/rpki-rp-0.5080.tbz
fetch http://download.rpki.net/FreeBSD_Packages/rpki-ca-0.5080.tbz
pkg_add rpki-*.tbz

FreeBSD ports

fetch -o - http://download.rpki.net/FreeBSD_Packages/rpki-rp-port.tgz | tar xf -
cd rpki-rp
make install
cd ..
fetch -o - http://download.rpki.net/FreeBSD_Packages/rpki-ca-port.tgz | tar xf -
cd rpki-ca
make install
cd ..

FreeBSD ports with portmaster packages

mkdir /usr/ports/local
cd /usr/ports/local
fetch -o - http://download.rpki.net/FreeBSD_Packages/rpki-rp-port.tgz | tar xf -
fetch -o - http://download.rpki.net/FreeBSD_Packages/rpki-ca-port.tgz | tar xf -
portmaster -Pv local/rpki-rp local/rpki-ca

Ubuntu 12.04LTS packages

wget http://download.rpki.net/Ubuntu_Packages/rpki-ca_0.5080_i386.deb
wget http://download.rpki.net/Ubuntu_Packages/rpki-rp_0.5080_i386.deb
dpkg -i rpki-*.deb

Configuring the CA software

  • Copy rpki.conf.sample to rpki.conf
  • Edit as needed (see comments in file and see the documentation).
  • FreeBSD: emacs /usr/local/etc/rpki.conf.sample
  • Ubuntu: emacs /etc/rpki.conf.sample

Initializing the CA software

rpki-sql-setup
rpkic initialize

Start the daemons: FreeBSD

  • Add rpkica_enable="YES" to /etc/rc.conf
  • Add inetd_enable="YES" to /etc/rc.conf

    service inetd restart service rpki-ca start

Start the daemons: Ubuntu

sudo initctl start rpki-ca

Dance With Your Parent

See: Command line interface documentation

  • Child sends XML to parent
  • Parent runs rpkic configure_child
  • Parent sends result to child
  • Child runs rpkic configure_parent
  • Child sends repository request to repository (parent or self, depending on child's configuration)
  • Repository runs configure_publication_client
  • Repository sends result to child
  • Child runs configure_repository

Set Up The GUI

See: Graphical web interface documentation