Comprehensive technical knowledge base covering 12 GSMA eSIM specifications. 84+ articles on Remote SIM Provisioning — SGP.02, SGP.22, SGP.32, SGP.41, SGP.29, SGP.23, SGP.25, SGP.26 and more.
🏠 eUICC.tech > SGP.32 IoT eSIM > IoT eSIM Security: eIM Certificates, DTLS, and Device Trust
💡 Why this matters: IoT devices live in hostile environments: remote locations, no physical security, constrained CPUs that can’t run full PKI stacks. The IoT eSIM security model extends the consumer PKI with a new
eIMcertificate class, adapts transport security from TLS to DTLS for UDP-based LPWA networks, and introduces three trust models for devices ranging from Linux gateways to bare-metal RTOS sensors.
Key takeaways:
- New certificate class:
CERT.EIM.ECDSA(signing) andCERT.EIM.TLS(transport) : separate keys, separate purposes- Three device trust models: full PKI validation, certificate pinning, raw public key (RFC 7250)
- DTLS replaces TLS for CoAP/UDP devices; Connection ID (RFC 9146) survives IP changes across PSM sleep cycles
- Replay protection: per-eIM
counterValue+associationToken; Emergency Profile blocks all eSIM ops during eCalleIMmust be GSMA SAS-SM certified; private signing key compromise compromises all associated eUICCs
The IoT eSIM security model extends the consumer PKI with a new certificate class: the eIM Certificate : and adapts transport security for constrained networks. Where consumer devices use TLS over TCP, IoT devices need DTLS over UDP, CoAP instead of HTTP, and certificate pinning for devices that can’t validate full PKI chains.
SGP.32 adds one new certificate type to the SGP.22 trust chain:
GSMA Certificate Issuer (CI)
│
┌───────────────┼───────────────┬──────────────────┐
│ │ │ │
▼ ▼ ▼ ▼
EUM Cert DP/DS Certs eIM Signing eIM TLS/DTLS
(CERT.EUM) (CERT.DPauth, Certificate Certificate
CERT.DSauth) (CERT.EIM.ECDSA) (CERT.EIM.TLS)
│
▼
eUICC Cert
(CERT.EUICC)
The key distinction: CERT.EIM.ECDSA is used for signing eUICC Packages (PSMOs and eCOs), while CERT.EIM.TLS is used for transport security on the ESipa interface. They are separate certificates with different key usage extensions.
CERT.EIM.ECDSA)Proves the eIM’s authority to manage profiles on associated eUICCs. Key constraints:
digitalSignature only (critical extension)CN=<eIMiD> : the eIM’s unique identifiereIM’s public key (or certificate) is stored in the eUICC’s EimConfigurationData during the addEim eCOCERT.EIM.TLS)Standard X.509 certificate for transport security. Key requirements:
CN=<eIMiD>, C=<country> (mandatory), optional O/OU/LdigitalSignature (critical)id-kp-serverAuth AND id-kp-clientAuth (critical) : the eIM acts as both server and client in mutual TLSdNSName (FQDN) and exactly one registeredID (eIM OID)dNSName may use the * wildcard as allowed by RFC 2818This is a departure from consumer RSP: eIM TLS certificates are standard PKI, not GSMA-specific. The eUICC doesn’t validate them against the CI root. Instead, the trustedPublicKeyDataTls in the eIM Configuration Data provides the trust anchor: either a raw public key or a CA certificate that chains to the eIM’s TLS certificate.
IoT devices fall into three categories for eIM trust:
Linux-based IoT gateways with full TLS stacks. The device validates CERT.EIM.TLS against its OS trust store. No special configuration needed in the eUICC.
The IPA stores trustedCertificateTls from the eIM Configuration Data and pins to that specific certificate or CA. No online CA validation required. This is the most common model.
For devices that can’t parse X.509 at all (think bare-metal RTOS sensors), the IPA stores trustedEimPkTls : just the raw ECDSA public key. DTLS handshake uses raw public key authentication (RFC 7250).
Consumer RSP uses TLS over TCP exclusively. IoT adds DTLS over UDP: critical for CoAP-based LPWA devices.
| Feature | TLS (Consumer IoT) | DTLS (Constrained IoT) |
|---|---|---|
| Transport | TCP | UDP |
| Handshake | Multi-round-trip | Multi-round-trip (with CID extension) |
| Connection migration | Not supported | Connection ID (RFC 9146) for IP changes |
| Cipher | ECDHE-ECDSA-AES-128-GCM-SHA256 | Same, over DTLS |
| Session resumption | Session tickets (RFC 5077) | Same principle, DTLS-specific |
Connection ID (CID) is particularly important for IoT: NB-IoT devices may change IP addresses between PSM wake cycles. Without CID, every wake-up requires a full DTLS handshake. With CID, the session survives IP changes.
SGP.32 mandates specific cipher suites:
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 (RFC 5289)
TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384 (RFC 5289)
Brainpool curves (RFC 7027) are supported as alternatives to NIST P-256 for jurisdictions requiring non-NIST cryptography.
Server Name Indication (SNI): The ESipa interface requires SNI (RFC 6066) in the TLS/DTLS ClientHello: the IPA MUST include the eIM’s hostname. This enables multi-tenant eIM deployments behind a single IP address.
The eUICC must:
PK.CI.ECDSA) for verifying SM-DP+ and SM-DS certificates: same as consumerEimConfigurationData including the eIM’s public key or certificateeIM’s stored public key before executing any PSMO or eCOThe eIM (and its operator) must:
SK.EIM.ECDSA) : compromise of this key compromises all associated eUICCsCERT.EUICC.ECDSA)SGP.31 includes an informative threats and risks annex. Key threat categories include:
| Threat | Mitigation |
|---|---|
| Compromised IoT Device | eIM Package integrity prevents the device from forging PSMOs |
| Compromised eIM | Certificate revocation via updated EimConfigurationData |
| Malicious eIM | eUICC only accepts packages from Associated eIMs with valid signatures |
| Privacy leakage | Profile isolation (ISD-P boundaries); metadata access restricted to ISD-R |
| Profile disable/delete replay | Counter value + association token |
| Cryptographic risks | Minimum key lengths mandated; algorithm agility for post-quantum transition |
| Non-human/unpredictable behaviour | PSMO confirmed by signed eUICC Package Results |
SGP.32 supports algorithm negotiation in the key agreement parameters, allowing future post-quantum algorithms to be introduced without architectural changes.
A unique IoT safety feature: the eUICC can automatically enable a Fallback Profile if the current operational profile loses connectivity. The fallback profile has its Fallback Attribute set via PSMO: typically a provisioning profile from the original equipment manufacturer that provides just enough connectivity to reach the eIM for recovery.
The fallback mechanism is triggered by the eUICC autonomously: no eIM involvement needed at trigger time. This is critical for devices deployed in remote locations where a bad profile switch could brick the device permanently.
CERT.EIM.ECDSA (signing) and CERT.EIM.TLS (transport), each with distinct key usageBased on GSMA SGP.32 v1.3, Sections 2.6-2.7 and SGP.31 v1.3, Sections 5.2 and Annex A
| ← Previous: IoT Profile Download: Direct, Indirect, and eIM Package Handling | Section Index | Next: eIM Configuration: Associating Remote Managers with Your eUICC → |