Use the SCEP enrollment method to provision certificates to network devices, mobile devices, printers, routers, and other endpoints that support the SCEP protocol. SCEP is widely used by MDM tools like Jamf Pro, Ivanti, and Microsoft Intune.Documentation Index
Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
SCEP enrollment is configured on profiles attached to your Application. Product Admins attach profiles, and Application Admins configure enrollment methods on those profiles.
When to Use SCEP Enrollment
MDM Systems
Jamf Pro, Ivanti, Microsoft Intune, Workspace ONE.
Network Devices
Routers, switches, firewalls, and access points.
Printers & IoT
Network printers, scanners, and IoT devices.
Legacy Systems
Devices that only support SCEP (not ACME or EST).
- GetCACaps: returns the SCEP server’s supported capabilities (algorithms, features).
- GetCACert: returns the RA (Registration Authority) certificate and the CA certificate chain in a PKCS#7 bundle.
- PKIOperation: processes certificate enrollment requests (PKCSReq), renewal requests (RenewalReq), and certificate polling (GetCertInitial).
/scep path and structured as:
app.infisical.com with your instance’s domain.
Prerequisites
- A SCEP-compatible client (e.g., sscep) or a network device with built-in SCEP support.
- A certificate profile with a CA-issued issuer type.
Challenge Types
Infisical supports two challenge authentication modes for SCEP enrollment:- Static Challenge
- Dynamic Challenge
A single shared secret password is configured on the certificate profile. All SCEP clients must include this password in their certificate signing request (CSR) to authenticate.This is the simplest option and works well when the same challenge password is acceptable for all devices enrolling through the profile.
- The challenge password must be at least 8 characters.
- The password is hashed before storage and cannot be retrieved after creation.
Configure SCEP Enrollment
Configure enrollment on an attached profile
Go to the Settings tab and find the Certificate Profiles section. Click Configure on the profile you want to enable SCEP enrollment for.
Profiles are attached by Product Admins. If you don’t see any profiles, ask your Product Admin to attach one. The profile must use a CA-issued issuer type for SCEP enrollment.
Configure SCEP settings
Here’s some guidance on each SCEP-specific configuration field:
- Challenge Type: Select Static for a shared password or Dynamic for one-time-use challenges generated via API. See Challenge Types above.
- Challenge Password (static only): A shared secret that SCEP clients must include in their certificate signing request (CSR) to authenticate with Infisical’s SCEP server. Must be at least 8 characters.
- Challenge Expiry (dynamic only): How long each generated challenge remains valid, in minutes.
- Max Pending Challenges (dynamic only): Maximum number of unused challenges that can exist at once.
- Include CA Cert in Response: When enabled, the CA certificate chain is included alongside the RA certificate in the GetCACert response. Most SCEP clients expect this to be enabled (default: enabled).
- Allow Certificate-Based Renewal: When enabled, devices that already hold a valid certificate issued by the same CA can renew their certificate without providing the challenge password (default: enabled).
Obtain the SCEP endpoint URL
After configuring SCEP enrollment, you can obtain the SCEP endpoint URL from the enrollment configuration in your Application. The URL is displayed in the enrollment details after you save the configuration.For configurations with dynamic challenges enabled, you will also see a Challenge Endpoint URL that your MDM tool or automation calls to generate one-time challenge passwords.
The SCEP endpoint URL is unique to this Application + Profile pair. Certificates enrolled through this URL are associated with this Application and follow the selected profile’s policy.
Configure your SCEP client and enroll
Provide the SCEP endpoint URL and challenge password from the previous steps to your SCEP client.
- Static Challenge
- Dynamic Challenge
Below is an example using sscep, an open-source SCEP client.1. Retrieve the CA/RA certificates:This writes the RA certificate to 3. Create a self-signed certificate for the sscep signing identity:sscep requires a local signing certificate to sign the SCEP request envelope:4. Enroll via SCEP:On success, the issued certificate is written to
ca.pem-0 and the CA certificate to ca.pem-1 (when “Include CA Cert in Response” is enabled).2. Generate a device key and CSR with the challenge password:The challenge password must be embedded in the CSR as a PKCS#9 attribute. Create an OpenSSL config file to include it:device-cert.pem.Flag reference for the enroll command:
-c ca.pem-0is the RA certificate from step 1-K/-Oare the signing key and self-signed certificate used to sign the SCEP message envelope-E aes256selects AES-256-CBC encryption-S sha256selects SHA-256 for the message digest
SCEP uses CMS/PKCS#7 encrypted messages to protect the certificate request in transit. The challenge password is included inside the encrypted envelope and is never sent in plaintext over the network.
Renew a certificate via SCEP (optional)
If Allow Certificate-Based Renewal is enabled on the certificate profile, devices that already hold a valid certificate issued by the same CA can renew without the challenge password.The device signs the SCEP request with its existing issued certificate instead of a self-signed one. Using sscep:The key difference from the initial enrollment is
-O device-cert.pem (the previously issued certificate) instead of -O device-selfsigned.pem. On success, the renewed certificate is written to device-renewed.pem.Supported Algorithms
Infisical’s SCEP server supports the following algorithms for the CMS message exchange:- Encryption: AES-256-CBC, AES-128-CBC, 3DES-CBC (DES-EDE3-CBC)
- Signing: SHA-256, SHA-384, SHA-512, SHA-1
FAQ
What is the RA certificate?
What is the RA certificate?
The RA (Registration Authority) certificate is automatically generated when you create a SCEP-enabled certificate profile. It is used to encrypt and sign the SCEP message exchange between the client and server. The RA certificate has a 10-year validity and is separate from your CA certificate.
When should I use static vs. dynamic challenges?
When should I use static vs. dynamic challenges?
Use static challenges for simple setups where a shared password is acceptable, such as network devices or test environments.Use dynamic challenges when integrating with MDM tools (Jamf Pro, Ivanti, Workspace ONE) that support fetching one-time challenges via webhook. Dynamic challenges provide stronger security since each challenge can only be used once and expires automatically.
Can devices renew their certificates without the challenge password?
Can devices renew their certificates without the challenge password?
Yes, if Allow Certificate-Based Renewal is enabled on the certificate profile. Devices that already hold a valid certificate issued by the same CA can submit a renewal request (RenewalReq) signed with their existing certificate, without needing the challenge password.
What happens if my SCEP client uses an unsupported encryption algorithm?
What happens if my SCEP client uses an unsupported encryption algorithm?
The server will reject the request with a
400 Bad Request error indicating the unsupported cipher OID. Configure your client to use AES-256-CBC (-E aes256 in sscep) for compatibility.What’s Next?
Jamf Pro Guide
Set up SCEP enrollment with Jamf Pro MDM.
Certificate Syncs
Push certificates to cloud destinations.
Alerting
Get notified when certificates are about to expire.
Managing Certificates
View and manage certificates in your Application.