Certificate Server
| Run on | control center |
| Program type | listener |
| Communicates with | Register Program |
| Description | Server to grant the RSA public certificate to nodes. |
Flow description
The certificate server accepts requests from a node client for the public certificate used in RSA encryption.
- Receive request. Ensure only 4 bytes were sent then read the bytes as a hex string.
- If the hex string matches the magic value, return the public key stored in
$RSA_CERT_PATH. Otherwise terminate the socket without an error message.
Schema description
Certificate request
Length: 4 bytes
Fields
| Bytes | Name | Description |
|---|---|---|
[3:0] |
magic | The magic number. |
Certificate response
Length: 800 bytes
Fields
| Bytes | Name | Description |
|---|---|---|
[799:0] |
cert | The RSA public certificate. |