Skip to content

Commit

Permalink
Minor readme updates and comments in code
Browse files Browse the repository at this point in the history
  • Loading branch information
thrasr committed Jun 23, 2014
1 parent 131b14c commit db12e1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Instructions and code for setting up a simple iOS Mobile Device Management (MDM)
* Run the following openssl command in your terminal and then move the generated mdm.pem file to **/vendor-signing/com/softhinker** (it should replace an empty file of the same name).

openssl x509 -inform der -in YOUR_MDM.cer -out mdm.pem

3. Find **Test.java** in the **/vendor-signing/com/softhinker** folder. On line 95, replace the word *test* with the PEM password that you used when running make_certs.sh.
* Replace only the word test so that your password is still in quotes.
4. Run the **vendor-signing.sh** script found in the **/scripts** directory.
Expand Down Expand Up @@ -70,7 +69,7 @@ After generating certificates and placing your PEM password in line 95 of Test.j
Open the **iPhone Configuration Utilities** program. Select **Configuration Profiles** click the **New** button, and fill out the sections as follows:
* General
* Name: A unique name for you to keep track of
* Identifier: **com.apple.mgmt...** string you recorded during certificate generation
* Identifier: **com.apple.mgmt...** string you recorded during certificate generation (see step 5 of the certificate setup instructions)
* Certificates
* Use **vendor.p12** generated during certificate creation
* Password: Enter the password you used during certificate creation
Expand Down
4 changes: 2 additions & 2 deletions server/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ def __init__(self, newUDID, tuple):

# Hard coded information to show possible features
self.GEO = "42*21'29''N 71*03'49''W"

# Owner and location default to unassigned
self.owner = 'Unassigned'
self.location = 'Unassigned'


self.status = 0 # 0=ready for command (green? gray?)
# 1=command in queue (yellow)
# 2=error/timeout (red)
# maybe have green (last command successful?)


# Possible additional parameters based on query commands
#self.availableCapacity
#self.totalCapacity
Expand Down

0 comments on commit db12e1c

Please sign in to comment.