SCEP¶
SCEP (RFC 8894) is the protocol that phones, laptops under device
management (MDM), routers and printers use to get a certificate. Use it
for devices that speak nothing else; on a normal machine
bxp tls is simpler.
The flow¶
What BastionXP CA supports¶
| Feature | Support |
|---|---|
| Enrollment (PKCSReq) | With a one-time token as the challenge, or a shared challenge for MDM. |
| Renewal (RenewalReq) | Signed with the current certificate; new key or same key. Advertised as Renewal in GetCACaps. |
| GetCert | Fetch an issued certificate again, by the holder of its key. |
| Algorithms | SHA-256, AES-256 (SHA-256, AES in GetCACaps); POSTPKIOperation; SCEPStandard. |
| GetCRL | No: the CRL is at /crl. |
| Polling (pending requests) | No: every answer is immediate. |
The address¶
Things to know¶
- Devices need RSA keys. SCEP sends the certificate back encrypted, and that only works with RSA. Devices use RSA for SCEP anyway.
- The device must trust the CA. How it gets
root.crtdepends on the device; with MDM it is part of the same profile as the SCEP settings. - Certificates are valid for the profile's default time (30 days for
tls-device, the default for devices): SCEP has no way to ask for another. Devices renew when their device management says so, not every few hours, sotls-devicelives longer than the 24-hourtls-client. - SCEP is safe over plain HTTP as far as its messages go (they are signed and encrypted), but BastionXP CA serves it on its HTTPS address.