aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/18.RPKI.CA.Configuration.rootd.wiki
blob: 172460cfe24866593f1394ae1e71ebd1cabce38e (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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
{{{
#!comment

******************************************************************************
THIS PAGE WAS GENERATED AUTOMATICALLY, DO NOT EDIT.

Generated from $Id: rpki-confgen.xml 6070 2015-03-23 18:04:06Z melkins $
            by $Id: rpki-confgen 5856 2014-05-31 18:32:19Z sra $
******************************************************************************

}}}
[[TracNav(doc/RPKI/TOC)]]
[[PageOutline]]

= [rootd] section = #rootd

You don't need to run rootd unless you're IANA, are certifying private
address space, or are an RIR which refuses to accept IANA as the root
of the public address hierarchy.

Ok, if that wasn't enough to scare you off: rootd is a mess, and needs
to be rewritten, or, better, merged into rpkid. It doesn't use the
publication protocol, and it requires far too many configuration
parameters.

rootd was originally intended to be a very simple program which
simplified rpkid enormously by moving one specific task (acting as the
root CA of an RPKI certificate hierarchy) out of rpkid. As the
specifications and code (mostly the latter) have evolved, however,
this task has become more complicated, and rootd would have to become
much more complicated to keep up.

Don't run rootd unless you're sure that you need to do so.

Still think you need to run rootd? OK, but remember, you have been
warned....

rootd's default configuration file is the system `rpki.conf` file.
Start rootd with "`-c filename`" to choose a different configuration
file. All options are in the "`[rootd]`" section. Certificates and
keys may be in either DER or PEM format.

== bpki-ta == #bpki-ta

Where rootd should look for the BPKI trust anchor. All BPKI
certificate verification within rootd traces back to this trust
anchor. Don't change this unless you really know what you are doing.

{{{
#!ini
bpki-ta = ${myrpki::bpki_servers_directory}/ca.cer
}}}

== rootd-bpki-crl == #rootd-bpki-crl

BPKI CRL. Don't change this unless you really know what you are doing.

{{{
#!ini
rootd-bpki-crl = ${myrpki::bpki_servers_directory}/ca.crl
}}}

== rootd-bpki-cert == #rootd-bpki-cert

rootd's own BPKI EE certificate. Don't change this unless you really
know what you are doing.

{{{
#!ini
rootd-bpki-cert = ${myrpki::bpki_servers_directory}/rootd.cer
}}}

== rootd-bpki-key == #rootd-bpki-key

Private key corresponding to rootd's own BPKI EE certificate. Don't
change this unless you really know what you are doing.

{{{
#!ini
rootd-bpki-key = ${myrpki::bpki_servers_directory}/rootd.key
}}}

== child-bpki-cert == #child-bpki-cert

BPKI certificate for rootd's one and only up-down child (RPKI engine
to which rootd issues an RPKI certificate). Don't change this unless
you really know what you are doing.

{{{
#!ini
child-bpki-cert = ${myrpki::bpki_servers_directory}/child.cer
}}}

== server-host == #server-host

Server host on which rootd should listen.

{{{
#!ini
server-host = ${myrpki::rootd_server_host}
}}}

== server-port == #server-port

Server port on which rootd should listen.

{{{
#!ini
server-port = ${myrpki::rootd_server_port}
}}}

== rpki-root-dir == #rpki-root-dir

Where rootd should write its output. Yes, rootd should be using pubd
instead of publishing directly, but it doesn't. This needs to match
pubd's configuration.

{{{
#!ini
rpki-root-dir = ${myrpki::publication_base_directory}
}}}

== rpki-base-uri == #rpki-base-uri

rsync URI corresponding to directory containing rootd's outputs.

{{{
#!ini
rpki-base-uri = rsync://${myrpki::publication_rsync_server}/${myrpki::publication_rsync_module}/
}}}

== rpki-root-cert-uri == #rpki-root-cert-uri

rsync URI for rootd's root (self-signed) RPKI certificate.

{{{
#!ini
rpki-root-cert-uri = rsync://${myrpki::publication_rsync_server}/${myrpki::publication_root_module}/root.cer
}}}

== rpki-root-key == #rpki-root-key

Private key corresponding to rootd's root RPKI certificate.

{{{
#!ini
rpki-root-key = ${myrpki::bpki_servers_directory}/root.key
}}}

== rpki-root-cert == #rpki-root-cert

Filename (as opposed to rsync URI) of rootd's root RPKI certificate.

{{{
#!ini
rpki-root-cert = ${myrpki::publication_root_cert_directory}/root.cer
}}}

== rpki-subject-pkcs10 == #rpki-subject-pkcs10

Where rootd should stash a copy of the PKCS #10 request it gets from
its one (and only) child

{{{
#!ini
rpki-subject-pkcs10 = ${myrpki::bpki_servers_directory}/rootd.subject.pkcs10
}}}

== rpki-subject-lifetime == #rpki-subject-lifetime

Lifetime of the one and only RPKI certificate rootd issues.

{{{
#!ini
rpki-subject-lifetime = 30d
}}}

== rpki-root-crl == #rpki-root-crl

Filename (relative to rootd-base-uri and rpki-root-dir) of the CRL for
rootd's root RPKI certificate.

{{{
#!ini
rpki-root-crl = root.crl
}}}

== rpki-root-manifest == #rpki-root-manifest

Filename (relative to rootd-base-uri and rpki-root-dir) of the
manifest for rootd's root RPKI certificate.

{{{
#!ini
rpki-root-manifest = root.mft
}}}

== rpki-class-name == #rpki-class-name

Up-down protocol class name for RPKI certificate rootd issues to its
one (and only) child.

{{{
#!ini
rpki-class-name = ${myrpki::handle}
}}}

== rpki-subject-cert == #rpki-subject-cert

Filename (relative to rootd-base-uri and rpki-root-dir) of the one
(and only) RPKI certificate rootd issues.

{{{
#!ini
rpki-subject-cert = ${myrpki::handle}.cer
}}}