start: (
opts: any,
) => Promise<
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors?: undefined;
ok: boolean;
}
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors: any;
ok: boolean;
}
| {
branches: number;
built: boolean;
certified: number;
errors?: undefined;
ok: boolean;
},
> = start
Builds the certificate hierarchy at startup, where there is none, and certifies the keys this service already holds.
A failure is logged and the service starts with self-signed keys;
pki.autoBuildoff builds nothing.