go-ios icon indicating copy to clipboard operation
go-ios copied to clipboard

Help wanted: how to generate p12file

Open codeskyblue opened this issue 2 years ago • 5 comments

I see there is a command: ./go-ios httpproxy --p12file=?? How to generate the p12file, thanks?

codeskyblue avatar Apr 25 '22 02:04 codeskyblue

Writing steps from memory, you can experiment around the Apple Configurator 2 app:

  1. Open App Store on your Mac.
  2. Download Apple Configurator 2.
  3. Open Apple Configurator 2.
  4. Erase all contents on your connected device and exit from iCloud on the connected device.
  5. Click Apple Configurator menu -> Preferences -> Organizations -> Create new Organizations.
  6. Fill in all fields. NB Sign off from the iCloud on the device if you didn't
  7. Connect iPhone to your Mac.
  8. Click to connected iOS device in Apple Configurator 2.
  9. Click Prepare and on the device setup it was something like:. * Manual configuration * Supervise devices * Allow devices to pair with other computer
  10. Click Next.
  11. Select: "Do not enroll in MDM Enroll" in MDM Server.
  12. Click Next.
  13. Select your organization.
  14. Select "Show all steps" on Configure iOS Setup Assistant.
  15. Click Prepare.
  16. Click Apple Configurator menu -> Preferences -> Organizations.
  17. Click dropdown menu -> Export Supervision Identity-> Export p12 file
  18. Set a password for the exported file when it asks you.
  19. Provide the exported p12 file and password to go-ios

shamanec avatar Apr 25 '22 19:04 shamanec

Would be cool is someone could try to repro @shamanec steps and generate a Markdown to link in the Readme.md

danielpaulus avatar Oct 09 '22 14:10 danielpaulus

Right now I dont have access to a Mac but I expect to have one in the following month. If noone picked this up until then, I'll document it with screenshots and whatnot :)

shamanec avatar Oct 10 '22 14:10 shamanec

We used @shamanec steps and updated a little bit providing more details in tricky cases based on users feedback. @danielpaulus, feel free to review and copy-paste from https://github.com/zebrunner/mcloud-agent/blob/master/README.md#ios-devices

vdelendik avatar Dec 14 '22 17:12 vdelendik

Go-iOS now comes with a command to do this for you ios prepare create-cert no complicated steps needed anymore :-)

danielpaulus avatar May 24 '23 19:05 danielpaulus