Node.js app to display the UDID of an iOS device via Mobile Provisioning
npm installto get dependencies- Edit
stage1.mobileconfiginsample_mobprovto 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) topublicfolder - Start server with
npm start