Profiles and names
A profile defines the shape of a certificate. Each device type has a default profile, and vendors use only profiles for the device types they are approved for. GET /v1/profiles lists them.
| Field | Meaning |
|---|---|
deviceType |
rtu (RTU), ppc (plant controller), module (inverter security module) |
cnRule |
How the certificate CN is set |
validDays |
Lifetime in days. 730 by default |
chipCompat |
Secure-element compatibility |
default |
Used when profileId is omitted |
CN rules
Section titled “CN rules”The CN never comes from the CSR. It comes from the device registry, so the CSR subject can be anything.
cnRule |
CN | Registry field needed |
|---|---|---|
serial |
Device serial (e.g. SN-0001) |
serial |
rtuId |
rtu-{RTU ID} (e.g. rtu-1000000101) |
rtuId |
RTU profiles use the rtuId rule because receiving servers identify the RTU by its CN. So an RTU ID can be used by only one device across all vendors; an ID already in use returns 409 RTU_ID_IN_USE. Issuing an RTU profile without rtuId returns 400 RTU_ID_REQUIRED.
Chip IDs
Section titled “Chip IDs”A chipId (hex, e.g. the ATECC608 serial number) in the registry is written to the certificate SAN as urn:solarize:chip:{chip ID}. Chip IDs are unique across devices. If a valid certificate already uses the chip ID, registration and issuance return 409 DUPLICATE_CHIP.
Secure-element compatibility
Section titled “Secure-element compatibility”Profiles with chipCompat produce certificates a secure element can verify on its own:
- ECDSA P-256 public key, SHA-256 signature
- Serial number of 16 bytes or less
- DER certificate of 1,024 bytes or less
- Chain of three or fewer (device → issuing CA → root)
A CSR whose public key is not P-256 returns 400 INVALID_CSR.