- Installed Hermod, see here.
The application server sends provisioning request to Hermod in order to create a profile and generates keys. The certificate request data (certreq) is passed as a dummy CSR in P10 format. (Correct user info but dummy private key.) The client generates the private key locally and replaces the dummy key in the P10 and then sends the signed CSR back.
See code example.
To start provisioning, send URI to the mobile device and click on it or render the URI as a QR code and scan it. The profile info including certificate request info can be displayed in the app.
- The application server validates the provisioning response and it’s attestation signature. The application server should also validate the user details in the re-signed csr and the attestation certificate/key.
- The application server generates a certificate by sending the CSR request to the certificate management server using SCEP or equivalent protocol.
The certificate is sent to the mobile as a base 64 encoded DER binary X509 format.
The certificate is stored in the device.