gnoi
gnoi copied to clipboard
gnoi cert.proto: Need clarity on certificate validation during install and rotate
Section "Validate installed certificate" from page https://github.com/openconfig/gnoi/blob/master/docs/simplified_security_model.md#validate-installed-certificate insists that the target device needs to verify the new certificate(let's say ee-cert1) being installed with a CA cert(let's say ca-cert1) in the CA pool.
- Is the target device guaranteed to be provided with that CA cert(ca-cert1) from the gNOI client beforehand?
- If the CA cert(ca-cert1) is not present or if the certificate(ee-cert1) verification fails with CA cert(ca-cert1), should the target device fail the install RPC?
- Is the expected behavior applicable for rotate() RPC as well?
-
yes, either via a previous gNOI install using the
ca_certificatesfield (https://github.com/openconfig/gnoi/blob/master/cert/cert.proto#L303) or during the same install using the same field, or via another mechanism that is not gNOI; -
yes;
-
yes;