Skip to content

SCEP server setup

scep:
  enabled: true

Restart bxp serve. At the first start it creates a key and a certificate of its own for SCEP, the RA (registration authority): scep_ra.key and scep_ra.crt in data_dir. SCEP needs an RSA key for this, whatever the CA's own key type. When the server starts and the RA certificate is close to its end, it makes a new one.

The server started log line then says scep=true. The address to give a device is the server's address followed by /scep:

https://ca.example.com:8443/scep

Check it:

$ curl --cacert root.crt "https://ca.example.com:8443/scep?operation=GetCACaps"
POSTPKIOperation
SHA-256
AES
SCEPStandard
Renewal

Settings

Key Default Meaning
scep.enabled false Turns SCEP on.
scep.static.* off A shared challenge for MDM: see Shared challenge.

Changing the SCEP settings needs a restart.

How devices are authorized

Challenge password Decides the profile and names Page
A one-time token (default) the token Enroll with a token
The shared challenge (optional) scep.static Shared challenge

Floods

Nothing is stored and nothing is issued without a valid challenge, and tokens cannot be guessed, so SCEP needs no rate limit for safety. Someone can still send junk SCEP messages to keep the CA busy, because it decrypts a message (RSA) before it can check the token. That costs about as much as a TLS handshake, so limit floods where it is cheap: see Hardening.