Node.js app to display the UDID of an iOS device via Mobile Provisioning
npm install
to get dependencies- Edit
stage1.mobileconfig
insample_mobprov
to match your server- Specifically, set the enrollment url to '/enroll' and set PayloadOrganization and PayloadIdentifier
- (optional, but recommended) Sign stage1.mobileconfig
openssl smime -sign -in stage1.mobileconfig -out stage1.mobileconfig.signed -signer /path/to/servercert.crt -inkey /path/to/server.key -certfile /path/to/cert/chain.crt -outform der -nodetach
- Copy
stage1.mobileconfig
(or rename the signed version) topublic
folder - Start server with
npm start